summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/ulp/iser/iscsi_iser.h
diff options
context:
space:
mode:
authorHoang-Nam Nguyen2008-04-29 22:46:52 +0200
committerRoland Dreier2008-04-29 22:46:52 +0200
commit7df109d917e85d3da2e25bd495c4997e87ed2a4e (patch)
tree6eac844aee0badb05ac40dbfe1b3fe142e9d9f09 /drivers/infiniband/ulp/iser/iscsi_iser.h
parentRDMA/cxgb3: Support peer-2-peer connection setup (diff)
downloadkernel-qcow2-linux-7df109d917e85d3da2e25bd495c4997e87ed2a4e.tar.gz
kernel-qcow2-linux-7df109d917e85d3da2e25bd495c4997e87ed2a4e.tar.xz
kernel-qcow2-linux-7df109d917e85d3da2e25bd495c4997e87ed2a4e.zip
IB/ehca: handle negative return value from ibmebus_request_irq() properly
ehca_create_eq() was assigning a signed return value to an unsiged local variable and then checking if the variable was < 0, which meant that errors were always ignored. Fix this by using one variable for signed integer return values and another for u64 hcall return values. Bug originally found by Roel Kluin <12o3l@tiscali.nl>. Signed-off-by: Hoang-Nam Nguyen <hnguyen@de.ibm.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/ulp/iser/iscsi_iser.h')
0 files changed, 0 insertions, 0 deletions