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-13 08:52:21 +0100 |
commit | 75fecd8d71dba8bde48e5a0edebe1f3847b883b2 (patch) | |
tree | 52719869070151ae4f9255e50494b2dcc37a5927 /arch/arm/boot/dts | |
parent | f7a5ed083e71b700ee9a5c89fcb37cfc22e3731a (diff) | |
download | linux-stable-75fecd8d71dba8bde48e5a0edebe1f3847b883b2.tar.gz linux-stable-75fecd8d71dba8bde48e5a0edebe1f3847b883b2.tar.bz2 linux-stable-75fecd8d71dba8bde48e5a0edebe1f3847b883b2.zip |
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/boot/dts')
0 files changed, 0 insertions, 0 deletions