|WARNING| pw154714 [PATCH v2 14/15] net/txgbe: add other hardware-related changes

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


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

_coding style issues_


WARNING:TYPO_SPELLING: 'Lite' may be misspelled - perhaps 'Light'?
#75: 
Add other hardware-related changes for Amber-Lite NICs, such as PF

WARNING:MSLEEP: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.rst
#127: FILE: drivers/net/txgbe/base/txgbe_hw.c:2237:
+			msleep(1);

WARNING:TYPO_SPELLING: 'THRE' may be misspelled - perhaps 'THREE'?
#183: FILE: drivers/net/txgbe/base/txgbe_hw.c:2298:
+		wr32m(hw, TXGBE_AML_TS_CTL1, TXGBE_AML_ALARM_THRE_MASK, 0x186a0000);

WARNING:TYPO_SPELLING: 'THRE' may be misspelled - perhaps 'THREE'?
#184: FILE: drivers/net/txgbe/base/txgbe_hw.c:2299:
+		wr32m(hw, TXGBE_AML_TS_CTL1, TXGBE_AML_DALARM_THRE_MASK, 0x16f60);

WARNING:TYPO_SPELLING: 'THRE' may be misspelled - perhaps 'THREE'?
#380: FILE: drivers/net/txgbe/base/txgbe_type.h:64:
+#define TXGBE_AML_ALARM_THRE_MASK       0x1FFE0000U

WARNING:TYPO_SPELLING: 'THRE' may be misspelled - perhaps 'THREE'?
#381: FILE: drivers/net/txgbe/base/txgbe_type.h:65:
+#define TXGBE_AML_DALARM_THRE_MASK      0x0001FFE0U

total: 0 errors, 6 warnings, 0 checks, 370 lines checked


More information about the test-report mailing list