diff options
| author | Hoang-Nam Nguyen <[email protected]> | 2008-04-29 13:46:52 -0700 |
|---|---|---|
| committer | Roland Dreier <[email protected]> | 2008-04-29 13:46:52 -0700 |
| commit | 7df109d917e85d3da2e25bd495c4997e87ed2a4e (patch) | |
| tree | 6eac844aee0badb05ac40dbfe1b3fe142e9d9f09 /drivers/net/ibm_emac/ibm_emac_debug.c | |
| parent | f8b0dfd15277974b5c9f3ff17f9e3ab6fdbe45ee (diff) | |
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 <[email protected]>.
Signed-off-by: Hoang-Nam Nguyen <[email protected]>
Signed-off-by: Roland Dreier <[email protected]>
Diffstat (limited to 'drivers/net/ibm_emac/ibm_emac_debug.c')
0 files changed, 0 insertions, 0 deletions