
20 Jul
2021
20 Jul
'21
8:32 p.m.
On Wed, 14 Jul 2021 at 17:51, Marek BehĂșn marek.behun@nic.cz 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 marek.behun@nic.cz Tested-by: Masami Hiramatsu masami.hiramatsu@linaro.org
drivers/mtd/spi/spi-nor-core.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org