summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/spi/sf_probe.c
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2015-11-17 17:13:33 -0200
committerJagan Teki <jteki@openedev.com>2015-11-18 00:55:29 +0530
commita668a164ffb73db6f566f50e9440c872d5293742 (patch)
tree7673473c7c76d8504338d667222c07a412117195 /drivers/mtd/spi/sf_probe.c
parent5168721e584e1fc104ccc3b1a027e8973a18f65b (diff)
downloadtalos-obmc-uboot-a668a164ffb73db6f566f50e9440c872d5293742.tar.gz
talos-obmc-uboot-a668a164ffb73db6f566f50e9440c872d5293742.zip
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>
Diffstat (limited to 'drivers/mtd/spi/sf_probe.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud