diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2018-11-18 21:18:30 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-21 10:41:19 +0100 |
commit | 1bd5701bbe69f2cf3a7f297d9db61d88a3400d4d (patch) | |
tree | cc53502e639ce7b5c7ca95e00cbedff4beb6369f /arch/arm/mach-nspire | |
parent | b1335cdef44252f5fd20837defaae09762181c58 (diff) |
mtd: fix mtd_oobavail() incoherent returned value
[ Upstream commit 4348433d8c0234f44adb6e12112e69343f50f0c5 ]
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>
Diffstat (limited to 'arch/arm/mach-nspire')
0 files changed, 0 insertions, 0 deletions