summaryrefslogtreecommitdiff
path: root/include/nand.h
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2018-11-18 21:11:46 +0100
committerJagan Teki <jagan@amarulasolutions.com>2019-04-12 10:58:21 +0530
commita55036b2786919996db6dcffd5f0a86d1077184b (patch)
tree04c2db63a0594e2db86da932886d039e80a2c38b /include/nand.h
parent3d2f12c4a151f6a4ec54782befa2fa92bcaa558f (diff)
downloadu-boot-a55036b2786919996db6dcffd5f0a86d1077184b.tar.gz
u-boot-a55036b2786919996db6dcffd5f0a86d1077184b.tar.bz2
u-boot-a55036b2786919996db6dcffd5f0a86d1077184b.zip
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>
Diffstat (limited to 'include/nand.h')
0 files changed, 0 insertions, 0 deletions