On Wed, 14 Jul 2021 at 17:51, Marek Behún wrote:
>
> The cleanup code of the spi_nor_erase() function overwrites the ret
> variable with return value of clean_bar(), even if the ret variable is
> already set. Fix this.
>
> Signed-off-by: Marek Behún
> Tested-by: Masami Hiramatsu
> ---
>
The cleanup code of the spi_nor_erase() function overwrites the ret
variable with return value of clean_bar(), even if the ret variable is
already set. Fix this.
Signed-off-by: Marek Behún
Tested-by: Masami Hiramatsu
---
drivers/mtd/spi/spi-nor-core.c | 6 --
1 file changed, 4
2 matches
Mail list logo