|WARNING| pw154709 [PATCH v2 09/15] net/txgbe: add TX head Write-Back mode for Amber-Lite NICs

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Jun 25 14:52:51 CEST 2025


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

_coding style issues_


WARNING:TYPO_SPELLING: 'Lite' may be misspelled - perhaps 'Light'?
#77: 
Add TX head Write-Back mode for Amber-Lite NICs. When enabled, the

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around txq->headwb_mem
#198: FILE: drivers/net/txgbe/txgbe_rxtx.c:101:
+		volatile uint16_t head = (uint16_t)*(txq->headwb_mem);

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around txq->headwb_mem
#235: FILE: drivers/net/txgbe/txgbe_rxtx.c:648:
+		u32 head = *(txq->headwb_mem);

ERROR:C99_COMMENTS: do not use C99 // comments
#289: FILE: drivers/net/txgbe/txgbe_rxtx.c:2429:
+			TXGBE_ALIGN, socket_id);//amlite-to-do: align?

CHECK:SPACING: No space is necessary after a cast
#299: FILE: drivers/net/txgbe/txgbe_rxtx.c:2439:
+	txq->headwb_mem = (uint32_t *) TMZ_VADDR(headwb);

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around txq->headwb_mem
#394: FILE: drivers/net/txgbe/txgbe_rxtx_vec_common.h:97:
+				volatile uint16_t head = (uint16_t)*(txq->headwb_mem);

total: 1 errors, 1 warnings, 4 checks, 279 lines checked


More information about the test-report mailing list