linux/drivers/infiniband/hw/ocrdma
Roland Dreier 33ccbd858f RDMA/ocrdma: Fix compiler warning about int/pointer size mismatch
Fix:

   drivers/infiniband/hw/ocrdma/ocrdma_verbs.c: In function 'ocrdma_build_fr':
>> drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:1832:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
     mr = (struct ocrdma_mr *)qp->dev->stag_arr[(hdr->lkey >> 8) &
          ^
   drivers/infiniband/hw/ocrdma/ocrdma_verbs.c: In function 'ocrdma_alloc_frmr':
>> drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:2661:64: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
     dev->stag_arr[(mr->hwmr.lkey >> 8) & (OCRDMA_MAX_STAG - 1)] = (u64) mr;

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
2013-09-03 09:00:08 -07:00
..
Kconfig RDMA/ocrdma: Fix build with IPV6=n 2012-05-08 11:17:49 -07:00
Makefile RDMA/ocrdma: Add driver for Emulex OneConnect IBoE RDMA adapter 2012-05-08 11:17:47 -07:00
ocrdma_abi.h RDMA/ocrdma: Add ABI versioning support 2013-09-02 21:18:45 -07:00
ocrdma_ah.c RDMA/ocrdma: Fill PVID in UMC case 2013-09-02 21:18:45 -07:00
ocrdma_ah.h RDMA/ocrdma: Add driver for Emulex OneConnect IBoE RDMA adapter 2012-05-08 11:17:47 -07:00
ocrdma_hw.c RDMA/ocrdma: Fix passing wrong opcode to modify_srq 2013-09-02 21:18:46 -07:00
ocrdma_hw.h RDMA/ocrdma: Fix for displaying proper link speed 2013-09-02 21:18:43 -07:00
ocrdma_main.c RDMA/ocrdma: Add ABI versioning support 2013-09-02 21:18:45 -07:00
ocrdma_sli.h RDMA/ocrdma: Fill PVID in UMC case 2013-09-02 21:18:45 -07:00
ocrdma_verbs.c RDMA/ocrdma: Fix compiler warning about int/pointer size mismatch 2013-09-03 09:00:08 -07:00
ocrdma_verbs.h RDMA/ocrdma: For ERX2 irrespective of Qid, num_posted offset is 24 2013-09-02 21:17:55 -07:00
ocrdma.h RDMA/ocrdma: Fill PVID in UMC case 2013-09-02 21:18:45 -07:00