|WARNING| pw144779 [PATCH v2 12/17] net/cnxk: add PMD APIs to submit CPT instruction

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Oct 1 08:04:45 CEST 2024


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

_coding style issues_


CHECK:SPACING: spaces preferred around that '*' (ctx:VxB)
#343: FILE: drivers/net/cnxk/cnxk_ethdev.h:516:
+	val = rte_atomic_fetch_sub_explicit((RTE_ATOMIC(int32_t)*)fc_sw, nb_inst,
 	                                                        ^

CHECK:SPACING: spaces preferred around that '*' (ctx:VxB)
#348: FILE: drivers/net/cnxk/cnxk_ethdev.h:521:
+	newval = (int64_t)nb_desc - rte_atomic_load_explicit((RTE_ATOMIC(uint64_t)*)fc,
 	                                                                          ^

CHECK:SPACING: spaces preferred around that '*' (ctx:VxB)
#352: FILE: drivers/net/cnxk/cnxk_ethdev.h:525:
+	if (!rte_atomic_compare_exchange_strong_explicit((RTE_ATOMIC(int32_t)*)fc_sw, &val, newval,
 	                                                                     ^

total: 0 errors, 0 warnings, 3 checks, 336 lines checked


More information about the test-report mailing list