diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2017-08-31 20:52:05 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-09-05 21:33:17 +0300 |
commit | 343ce0cdfae16828d18e9228e26dd19ecc3a457f (patch) | |
tree | dbb677bd7462ef3cffeaef768e6219d90061abf9 /block/cfq-iosched.c | |
parent | 16f73eb02d7e1765ccab3d2018e0bd98eb93d973 (diff) | |
download | linux-343ce0cdfae16828d18e9228e26dd19ecc3a457f.tar.xz |
PCI: spear13xx: Fix platform_get_irq() error handling
platform_get_irq() returns a negative number on failure, so adjust the
logic to detect such condition and propagate the real error value on
failure.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Pratyush Anand <pratyush.anand@gmail.com>
Diffstat (limited to 'block/cfq-iosched.c')
0 files changed, 0 insertions, 0 deletions