On Fri, 2021-06-18 at 13:42:07 UTC, Dan Carpenter wrote: > 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@xxxxxxxxxx> > Reviewed-by: Fabio Estevam <festevam@xxxxxxxxx> > Reviewed-by: Heiko Schocher <hs@xxxxxxx> Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/fixes, thanks. Miquel