2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-23 04:54:01 +08:00
linux-next/drivers/infiniband/hw/ocrdma
Roland Dreier e9db29534d 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>
2012-05-08 11:17:48 -07:00
..
Kconfig
Makefile
ocrdma_abi.h
ocrdma_ah.c
ocrdma_ah.h
ocrdma_hw.c RDMA/ocrdma: Set event's device member in ocrdma_dispatch_ibevent() 2012-05-08 11:17:48 -07:00
ocrdma_hw.h
ocrdma_main.c RDMA/ocrdma: Make needlessly global functions/structs static 2012-05-08 11:17:48 -07:00
ocrdma_sli.h
ocrdma_verbs.c RDMA/ocrdma: Fix warnings about uninitialized variables 2012-05-08 11:17:47 -07:00
ocrdma_verbs.h
ocrdma.h