[PATCH V2] mtd: phram: Fix error return code in phram_setup()

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


On Thu, 2021-04-08 at 13:38:12 UTC, Yu Kuai wrote:
> 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: Yu Kuai <yukuai3 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