aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorJiapeng Chong <[email protected]>2023-11-17 15:19:47 +0800
committerSaeed Mahameed <[email protected]>2023-12-13 18:03:32 -0800
commit952f9a5f4b0904255ef3dfa58f325fa3e5f045fb (patch)
tree63662696ebe065f68adc83bc95d59fe867f56544 /tools/testing/selftests/bpf/progs/test_autoload.c
parent9bb1ac80738a699d911684a67333d9cc8a95739a (diff)
net/mlx5: DR, Use swap() instead of open coding it
Swap is a function interface that provides exchange function. To avoid code duplication, we can use swap function. ./drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c:1254:50-51: WARNING opportunity for swap(). Reported-by: Abaci Robot <[email protected]> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7580 Signed-off-by: Jiapeng Chong <[email protected]> Reviewed-by: Przemek Kitszel <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions