|WARNING| pw131859 [PATCH v3] net/mlx5: reuse reformat and modify header actions in a table

checkpatch at dpdk.org checkpatch at dpdk.org
Sun Sep 24 11:42:49 CEST 2023


Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/131859

_coding style issues_


CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'encap_type' may be better as '(encap_type)' to avoid precedence issues
#195: FILE: drivers/net/mlx5/mlx5_flow_hw.c:61:
+#define MLX5_CONST_ENCAP_ITEM(encap_type, ptr) \
+(((const struct encap_type *)(ptr))->definition)

total: 0 errors, 0 warnings, 1 checks, 733 lines checked
Warning in drivers/net/mlx5/mlx5_flow_hw.c:
Using __atomic_op_fetch, prefer __atomic_fetch_op


More information about the test-report mailing list