[U-Boot] [PATCH v2] spi: sf_ops: Check the return value from spi_flash_cmd_read_status()
Jagan Teki
jteki at openedev.com
Tue Nov 17 20:27:19 CET 2015
On 18 November 2015 at 00:43, Fabio Estevam <festevam at gmail.com> wrote:
> From: Fabio Estevam <fabio.estevam at freescale.com>
>
> We should check the return value from spi_flash_cmd_read_status() and
> propagate it in the case of error.
>
> This fixes a defect caught by Coverity.
>
> Reported-by: Tom Rini <trini at konsulko.com>
> Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
> ---
Applied to u-boot-spi/master
thanks!
--
Jagan | openedev.
More information about the U-Boot
mailing list