Re: [PATCH 3/3] mtd: phram: Fix error return code in phram_setup()

2021-04-08 Thread yukuai (C)
On 2021/04/08 20:46, Miquel Raynal wrote: Hi Yu, Yu Kuai wrote on Thu, 8 Apr 2021 19:15:14 +0800: 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 Signed-off-by: Yu Kuai ---

Re: [PATCH 3/3] mtd: phram: Fix error return code in phram_setup()

2021-04-08 Thread Miquel Raynal
Hi Yu, Yu Kuai wrote on Thu, 8 Apr 2021 19:15:14 +0800: > 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 > Signed-off-by: Yu Kuai > --- > drivers/mtd/devices/phram.c | 1 + > 1 file changed, 1

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

2021-04-08 Thread Yu Kuai
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 Signed-off-by: Yu Kuai --- drivers/mtd/devices/phram.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/devices/phram.c