commit | 38a7e9b4f35344b9afec6959af41989b5d0767ac | [log] [tgz] |
---|---|---|
author | Fabio Estevam <fabio.estevam@freescale.com> | Tue Nov 17 17:13:33 2015 -0200 |
committer | Jagan Teki <jteki@openedev.com> | Wed Nov 18 00:55:29 2015 +0530 |
tree | 7673473c7c76d8504338d667222c07a412117195 | |
parent | 0a2bf5c88c6098405bbde7363dbd6a110a9be035 [diff] |
spi: sf_ops: Check the return value from spi_flash_cmd_read_status() 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@konsulko.com> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Reviewed-by: Jagan Teki <jteki@openedev.com>