commit | 4348433d8c0234f44adb6e12112e69343f50f0c5 | [log] [tgz] |
---|---|---|
author | Miquel Raynal <miquel.raynal@bootlin.com> | Sun Nov 18 21:18:30 2018 +0100 |
committer | Boris Brezillon <boris.brezillon@bootlin.com> | Sun Dec 02 09:20:39 2018 +0100 |
tree | 1ac39af7b0ec6e52366688e1086d54c87f99af98 | |
parent | 4845a077c0b9c5c10422a090dbd1d894233f9456 [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> Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>