IB/hfi1: Return correct value in general interrupt handler
authorKamenee Arumugam <kamenee.arumugam@intel.com>
Tue, 26 Sep 2017 13:06:15 +0000 (06:06 -0700)
committerDoug Ledford <dledford@redhat.com>
Wed, 27 Sep 2017 15:10:36 +0000 (11:10 -0400)
commit09592af5fdd722615ebe435fb34308de26c74bcf
tree6527afcca4e989b42578cb08e8b52adcebe2b224
parent753b19afb19dd97d0767df5e8afb13faff605315
IB/hfi1: Return correct value in general interrupt handler

The general interrupt handler returns IRQ_HANDLED whether an IRQ
was handled or not.
Determine if an IRQ was handled and return the correct value.

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Reviewed-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: Kamenee Arumugam <kamenee.arumugam@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/chip.c