summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/spi-nor/intel.c
diff options
context:
space:
mode:
authorZhang Xiaoxu <zhangxiaoxu5@huawei.com>2021-04-09 03:07:39 +0200
committerMiquel Raynal <miquel.raynal@bootlin.com>2021-05-10 10:44:37 +0200
commite4f3c9118f27b3b400db9993dd8bfd028d3b86ca (patch)
treea4220cce7b52137e6ab3aec97c0713e41e6bd821 /drivers/mtd/spi-nor/intel.c
parentmtd: phram: Fix error return code in phram_setup() (diff)
downloadlinux-e4f3c9118f27b3b400db9993dd8bfd028d3b86ca.tar.xz
linux-e4f3c9118f27b3b400db9993dd8bfd028d3b86ca.zip
mtd: mtd_oobtest: fix error return code in mtd_oobtest_init()
Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Zhang Xiaoxu <zhangxiaoxu5@huawei.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20210409010739.1021001-1-zhangxiaoxu5@huawei.com
Diffstat (limited to 'drivers/mtd/spi-nor/intel.c')
0 files changed, 0 insertions, 0 deletions