summaryrefslogtreecommitdiffstats
path: root/drivers/zorro
diff options
context:
space:
mode:
authorRoland Dreier <roland@purestorage.com>2013-09-03 09:00:08 -0700
committerRoland Dreier <roland@purestorage.com>2013-09-03 09:00:08 -0700
commit33ccbd858f3a8676d976f1a990c7c62e51551241 (patch)
tree39cbac9572a1eef5f78bcda72bd941d1a45df0fc /drivers/zorro
parentd7e19c0ad9baa0cfe7ef8b69a182a7db1dee6b52 (diff)
downloadlinux-33ccbd858f3a8676d976f1a990c7c62e51551241.tar.bz2
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>
Diffstat (limited to 'drivers/zorro')
0 files changed, 0 insertions, 0 deletions