[v2] mtd: mtd_oobtest: fix error return code in mtd_oobtest_init()

Miquel Raynal miquel.raynal at bootlin.com
Mon May 10 02:09:55 PDT 2021


On Fri, 2021-04-09 at 01:07:39 UTC, Zhang Xiaoxu wrote:
> 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 at huawei.com>
> Signed-off-by: Zhang Xiaoxu <zhangxiaoxu5 at huawei.com>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.

Miquel



More information about the linux-mtd mailing list