summaryrefslogtreecommitdiffstats
path: root/lib/locking-selftest-wlock-softirq.h
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2017-08-31 14:52:07 -0300
committerBjorn Helgaas <bhelgaas@google.com>2017-09-05 13:36:28 -0500
commitef75369a5b9afc8b45456218790f0f12906b7065 (patch)
treeec3c0a57e7a119e8d46cb266814639d2d662b077 /lib/locking-selftest-wlock-softirq.h
parentbfdbbf0e3c2a6e3fe752e0dc858c982aa1ccecad (diff)
downloadlinux-stable-ef75369a5b9afc8b45456218790f0f12906b7065.tar.gz
linux-stable-ef75369a5b9afc8b45456218790f0f12906b7065.tar.bz2
linux-stable-ef75369a5b9afc8b45456218790f0f12906b7065.zip
PCI: altera: 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: Ley Foon Tan <lftan@altera.com>
Diffstat (limited to 'lib/locking-selftest-wlock-softirq.h')
0 files changed, 0 insertions, 0 deletions