|WARNING| pw155045 [PATCH v3 14/14] net/sxe: add Solve compilation problems.

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Jul 7 14:03:18 CEST 2025


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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around adapter->link_thread_running
#487: FILE: drivers/net/sxe/pf/sxe_phy.c:60:
+	rte_atomic_store_explicit(&(adapter->link_thread_running), 0, rte_memory_order_seq_cst);

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around adapter->link_thread_running
#496: FILE: drivers/net/sxe/pf/sxe_phy.c:71:
+	while (rte_atomic_load_explicit(&(adapter->link_thread_running),

CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#498: FILE: drivers/net/sxe/pf/sxe_phy.c:73:
+		rte_memory_order_seq_cst)) {
+

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around adapter->link_thread_running
#507: FILE: drivers/net/sxe/pf/sxe_phy.c:154:
+		if (!rte_atomic_exchange_explicit(&(adapter->link_thread_running), 1,

total: 0 errors, 0 warnings, 4 checks, 628 lines checked


More information about the test-report mailing list