Files
rockchip-kernel/include/linux/mtd
Miquel Raynal 75fecd8d71 mtd: fix mtd_oobavail() incoherent returned value
[ Upstream commit 4348433d8c ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-12-13 08:52:21 +01:00
..