|WARNING| pw133587 [PATCH 14/30] net/mlx5: reuse reformat and modify header actions in a table
checkpatch at dpdk.org
checkpatch at dpdk.org
Sun Oct 29 17:36:13 CET 2023
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/133587
_coding style issues_
CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'encap_type' may be better as '(encap_type)' to avoid precedence issues
#190: 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