diff options
| author | Arnd Bergmann <[email protected]> | 2015-01-13 17:08:06 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-01-13 17:08:20 -0500 |
| commit | 065bd8c28ba37d04c9a5b732173c1508954b1f58 (patch) | |
| tree | 74d212f696a130ffda9bc08ffc8b3208a82ee717 /drivers/gpu/drm/imx/imx-ldb.c | |
| parent | adedf37b5908de05256913875f1041e838994b49 (diff) | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/imx/imx-ldb.c')
0 files changed, 0 insertions, 0 deletions