Searched hist:"4348433 d" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/include/linux/mtd/ |
H A D | mtd.h | 4348433d Sun Nov 18 14:18:30 CST 2018 Miquel Raynal <miquel.raynal@bootlin.com> mtd: fix mtd_oobavail() incoherent returned value
mtd_oobavail() returns either mtd->oovabail or mtd->oobsize. Both values are unsigned 32-bit entities, so there is no reason to pretend returning a signed one.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> 4348433d Sun Nov 18 14:18:30 CST 2018 Miquel Raynal <miquel.raynal@bootlin.com> mtd: fix mtd_oobavail() incoherent returned value mtd_oobavail() returns either mtd->oovabail or mtd->oobsize. Both values are unsigned 32-bit entities, so there is no reason to pretend returning a signed one. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
|