mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
mtd: spi-nor: Check the return value from read_sr()
We should better check the return value from read_sr() and propagate it in the case of error. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
This commit is contained in:
parent
adc83bf889
commit
f49289ce64
1 changed files with 8 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue