]> git.baikalelectronics.ru Git - kernel.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)
commitd7997dcdb8e8c0f4d999f205ab45bf923e9d5cbc
treeae06fe4826e9a50307536c32b3fef65613661514
parent835cccf37e05e8d7c28182328e16f8329db80342
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