diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-06-18 16:42:07 +0300 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2021-07-16 01:49:19 +0300 |
commit | e83862ee1b9b1668826683f432b041875ec0c819 (patch) | |
tree | 08d2fbc47ff34aba8bf98f3171ba9eb891a5846d /drivers/mtd/sm_ftl.h | |
parent | 962bf783ef65d15b0f8ca9c33342cf3b20bf0d2e (diff) | |
download | linux-e83862ee1b9b1668826683f432b041875ec0c819.tar.xz |
mtd: mchp48l640: silence some uninitialized variable warnings
Smatch complains that zero length read/writes will lead to an
uninitalized return value. I don't know if that's possible, but
it's nicer to return a zero literal anyway so let's do that.
Fixes: 88d125026753 ("mtd: devices: add support for microchip 48l640 EERAM")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/YMyir961W28TX5dT@mwanda
Diffstat (limited to 'drivers/mtd/sm_ftl.h')
0 files changed, 0 insertions, 0 deletions