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
On Tue, Jan 13, 2015 at 05:08:06PM +0100, Arnd Bergmann wrote:
Hi Arnd,
wouldn't it work by casting to uintptr_t instead of unsigned long?
The mlx5 driver passes a string pointer in through a 'u64' variable,
which on 32-bit machines causes a build warning:
On Tuesday 13 January 2015 18:28:03 Eli Cohen wrote:
On Tue, Jan 13, 2015 at 05:08:06PM +0100, Arnd Bergmann wrote:
Hi Arnd,
wouldn't it work by casting to uintptr_t instead of unsigned long?
These are the same on all architectures that Linux can run on,
but if you have a strong
From: Arnd Bergmann a...@arndb.de
Date: Tue, 13 Jan 2015 17:08:06 +0100
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':