mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-04 19:54:59 +00:00
mtd: nand: denali: set proper error code on timeout
The condition "if (irq_status == 0)" already ensures that one half of the ternary ?: is dead. I think this should probably actually be a FAIL, not a PASS. Caught by Coverity. Signed-off-by: Brian Norris <computersforpeace@gmail.com> Cc: Jamie Iles <jamie@jamieiles.com>
This commit is contained in:
parent
31f754628c
commit
c115add9d0
1 changed files with 1 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue