aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mlx5/mem.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2015-01-13 17:08:06 +0100
committerDavid S. Miller <davem@davemloft.net>2015-01-13 17:08:20 -0500
commit065bd8c28ba37d04c9a5b732173c1508954b1f58 (patch)
tree74d212f696a130ffda9bc08ffc8b3208a82ee717 /drivers/infiniband/hw/mlx5/mem.c
parentrocker: fix harmless warning on 32-bit machines (diff)
downloadlinux-dev-065bd8c28ba37d04c9a5b732173c1508954b1f58.tar.xz
linux-dev-065bd8c28ba37d04c9a5b732173c1508954b1f58.zip
mlx5: avoid build warnings on 32-bit
The mlx5 driver passes a string pointer in through a 'u64' variable, which on 32-bit machines causes a build warning: drivers/net/ethernet/mellanox/mlx5/core/debugfs.c: In function 'qp_read_field': drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:303:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] The code is in fact safe, so we can shut up the warning by adding extra type casts. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions