diff options
author | Roland Dreier <roland@purestorage.com> | 2012-04-16 12:13:24 -0700 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2012-05-08 11:17:48 -0700 |
commit | e9db29534d2bc7c5e24f0fdd4beff9001517d785 (patch) | |
tree | 24354881e6c4ecd464c5668bfeeb2cdb0ae18259 /net/unix/af_unix.c | |
parent | abe3afacc5762065244421569ad86afef11813bb (diff) |
RDMA/ocrdma: Set event's device member in ocrdma_dispatch_ibevent()
We need to set ib_evt.device, or else ib_dispatch_event() will crash
when we call it for unaffiliated events (and consumers may get
confused in their QP/CQ/SRQ event handler for affiliated events).
Also fix sparse warning:
drivers/infiniband/hw/ocrdma/ocrdma_hw.c:678:36: warning: Using plain integer as NULL pointer
There's no need to clear ib_evt, since every member is initialized.
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions