linux_old1/drivers/infiniband/hw
Hoang-Nam Nguyen 7df109d917 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>
2008-04-29 13:46:52 -07:00
..
amso1100 IB: expand ib_umem_get() prototype 2008-04-29 08:06:12 -07:00
cxgb3 RDMA/cxgb3: Support peer-2-peer connection setup 2008-04-29 13:46:52 -07:00
ehca IB/ehca: handle negative return value from ibmebus_request_irq() properly 2008-04-29 13:46:52 -07:00
ipath IB: expand ib_umem_get() prototype 2008-04-29 08:06:12 -07:00
mlx4 mlx4_core: Add a way to set the "collapsed" CQ flag 2008-04-29 13:46:50 -07:00
mthca IB: expand ib_umem_get() prototype 2008-04-29 08:06:12 -07:00
nes IB: expand ib_umem_get() prototype 2008-04-29 08:06:12 -07:00