aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorOr Gerlitz <[email protected]>2017-05-09 13:37:26 +0300
committerSaeed Mahameed <[email protected]>2017-05-23 16:23:31 +0300
commite3ca4e0583a02a04503d9c827fb5c5d50abc4ff5 (patch)
treee378e7c729efcf8b4aefab77ac33cc2231ebe68c /tools/perf/util/scripting-engines/trace-event-python.c
parentd824bf3fe2d352fc2c52b7ede05b1a0e95d946be (diff)
net/mlx5e: Fix warnings around parsing of TC pedit actions
The sparse tool emits these correct complaints: drivers/net/ethernet/mellanox/mlx5/core//en_tc.c:1005:25: warning: cast to restricted __be32 drivers/net/ethernet/mellanox/mlx5/core//en_tc.c:1007:25: warning: cast to restricted __be16 The value is provided from user-space in network order, but there's no way for them to realize that, avoid the warnings by casting to the appropriate type. Fixes: d79b6df6b10a ('net/mlx5e: Add parsing of TC pedit actions to HW format') Signed-off-by: Or Gerlitz <[email protected]> Reported-by: Leon Romanovsky <[email protected]> Reviewed-by: Paul Blakey <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions