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

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Oct 30 18:45:35 CET 2023


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

_coding style issues_


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

total: 0 errors, 0 warnings, 1 checks, 754 lines checked
Warning in drivers/net/mlx5/mlx5_flow_hw.c:
Using __atomic_xxx/__ATOMIC_XXX built-ins, prefer rte_atomic_xxx/rte_memory_order_xxx


More information about the test-report mailing list