|WARNING| pw164447 [PATCH v4 18/27] common/dpaax: use stdatomic instead of rte_atomic

checkpatch at dpdk.org checkpatch at dpdk.org
Wed May 27 01:28:00 CEST 2026


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

_coding style issues_


WARNING:LONG_LINE: line length of 103 exceeds 100 columns
#125: FILE: drivers/common/dpaax/compat.h:372:
+#define atomic_inc(v)           ((void)rte_atomic_fetch_add_explicit((v), 1, rte_memory_order_seq_cst))

WARNING:LONG_LINE: line length of 103 exceeds 100 columns
#126: FILE: drivers/common/dpaax/compat.h:373:
+#define atomic_dec(v)           ((void)rte_atomic_fetch_sub_explicit((v), 1, rte_memory_order_seq_cst))

WARNING:LONG_LINE: line length of 103 exceeds 100 columns
#127: FILE: drivers/common/dpaax/compat.h:374:
+#define atomic_inc_and_test(v)  (rte_atomic_fetch_add_explicit((v), 1, rte_memory_order_seq_cst) == -1)

WARNING:LONG_LINE: line length of 102 exceeds 100 columns
#128: FILE: drivers/common/dpaax/compat.h:375:
+#define atomic_dec_and_test(v)  (rte_atomic_fetch_sub_explicit((v), 1, rte_memory_order_seq_cst) == 1)

total: 0 errors, 4 warnings, 27 lines checked


More information about the test-report mailing list