linux_old1/drivers/infiniband/hw/mlx5
Roland Dreier 6c9b5d9b00 IB/mlx5: Fix warning about cast of wr_id back to pointer on 32 bits
We need to cast wr_id to unsigned long before casting to a pointer.
This fixes:

       drivers/infiniband/hw/mlx5/mr.c: In function 'mlx5_umr_cq_handler':
    >> drivers/infiniband/hw/mlx5/mr.c:724:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
          context = (struct mlx5_ib_umr_context *)wc.wr_id;

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
2014-05-28 09:23:03 -07:00
..
Kconfig IB/mlx5: Remove dependency on X86 2014-02-13 20:48:02 -08:00
Makefile mlx5: Add driver for Mellanox Connect-IB adapters 2013-07-08 10:32:24 -07:00
ah.c mlx5: Add driver for Mellanox Connect-IB adapters 2013-07-08 10:32:24 -07:00
cq.c IB/mlx5: add missing padding at end of struct mlx5_ib_create_cq 2014-05-27 11:53:13 -07:00
doorbell.c IB: Refactor umem to use linear SG table 2014-03-04 10:34:28 -08:00
mad.c mlx5: Add driver for Mellanox Connect-IB adapters 2013-07-08 10:32:24 -07:00
main.c IB/mlx5: Add block multicast loopback support 2014-04-10 18:43:32 -07:00
mem.c IB: Refactor umem to use linear SG table 2014-03-04 10:34:28 -08:00
mlx5_ib.h IB/mlx5: Refactor UMR to have its own context struct 2014-05-27 11:53:09 -07:00
mr.c IB/mlx5: Fix warning about cast of wr_id back to pointer on 32 bits 2014-05-28 09:23:03 -07:00
qp.c IB/mlx5: Set QP offsets and parameters for user QPs and not just for kernel QPs 2014-05-27 11:53:08 -07:00
srq.c IB/mlx5: add missing padding at end of struct mlx5_ib_create_srq 2014-05-27 11:53:16 -07:00
user.h IB/mlx5: add missing padding at end of struct mlx5_ib_create_srq 2014-05-27 11:53:16 -07:00