mellanox: mlxsw: Use '%zx' to print size_t format
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 10 Aug 2015 12:54:28 +0000 (09:54 -0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Aug 2015 04:12:49 +0000 (21:12 -0700)
commited8db18dea26850a73075d0aefcaebb78cc1fe19
treea40403591f572daff991e79e5103077875f07f39
parentbec7a630a66a7d688486ae7ceb3f0b5307bdb2c5
mellanox: mlxsw: Use '%zx' to print size_t format

Use '%zx' to print size_t format in order to fix the following build warning:

drivers/net/ethernet/mellanox/mlxsw/item.h:65:3: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' [-Wformat=]

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/item.h