From: Roland Dreier Date: Wed, 28 May 2014 16:23:03 +0000 (-0700) Subject: IB/mlx5: Fix warning about cast of wr_id back to pointer on 32 bits X-Git-Tag: omap-for-v3.16/fixes-against-rc1~68^2^8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c9b5d9b00ed2b1cbd5e5d2c176bf88da7beb224;p=pandora-kernel.git 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 Signed-off-by: Roland Dreier --- Reading git-diff-tree failed