diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-01-13 19:08:06 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-14 01:08:20 +0300 |
commit | 065bd8c28ba37d04c9a5b732173c1508954b1f58 (patch) | |
tree | 74d212f696a130ffda9bc08ffc8b3208a82ee717 /drivers/infiniband/hw/mlx5 | |
parent | adedf37b5908de05256913875f1041e838994b49 (diff) | |
download | linux-065bd8c28ba37d04c9a5b732173c1508954b1f58.tar.xz |
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 'drivers/infiniband/hw/mlx5')
0 files changed, 0 insertions, 0 deletions