]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net/mlx5: Fix static checker warning on steering tracepoints code
authorMatan Barak <matanb@mellanox.com>
Thu, 31 Aug 2017 15:52:14 +0000 (18:52 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 28 Sep 2017 04:23:10 +0000 (07:23 +0300)
commit480df991b869eff02a004e8fe7707900437cfcd4
treeae06fe4826e9a50307536c32b3fef65613661514
parent603e1f5bd3ca76f16688e10040545594d2e91ba4
net/mlx5: Fix static checker warning on steering tracepoints code

Fix this sparse complaint:

drivers/net/ethernet/mellanox/mlx5/core/./diag/fs_tracepoint.h:172:1:
warning: odd constant _Bool cast (ffffffffffffffff becomes 1)

Fixes: d9fea79171ee ('net/mlx5: Add tracepoints')
Signed-off-by: Matan Barak <matanb@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h