commit | b4c6fb24b4ec4a9b5c778ff274076282f63d7106 | [log] [tgz] |
---|---|---|
author | Miquel Raynal <miquel.raynal@bootlin.com> | Sun Nov 18 21:11:46 2018 +0100 |
committer | Jagan Teki <jagan@amarulasolutions.com> | Fri Apr 12 10:58:21 2019 +0530 |
tree | 04c2db63a0594e2db86da932886d039e80a2c38b | |
parent | 942a420a915b5b1ea40adc31c5f97a85aa872b1f [diff] |
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>