|WARNING| pw107113 [PATCH v2 06/12] net/ngbe: add support to custom PHY interfaces

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Feb 9 11:37:00 CET 2022


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

_coding style issues_


WARNING:TYPO_SPELLING: 'ANE' may be misspelled - perhaps 'AND'?
#405: FILE: drivers/net/ngbe/base/ngbe_phy_mvl.c:213:
+	value = MVL_CTRL_RESTART_AN | MVL_CTRL_ANE | MVL_CTRL_RESET;

WARNING:TYPO_SPELLING: 'ANE' may be misspelled - perhaps 'AND'?
#529: FILE: drivers/net/ngbe/base/ngbe_phy_yt.c:203:
+		value |= YT_BCR_RESET | YT_BCR_ANE | YT_BCR_RESTART_AN;

WARNING:MSLEEP: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.rst
#657: FILE: drivers/net/ngbe/base/ngbe_phy_yt.c:346:
+			msleep(1);

WARNING:MSLEEP: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.rst
#670: FILE: drivers/net/ngbe/base/ngbe_phy_yt.c:359:
+			msleep(1);

WARNING:TYPO_SPELLING: 'ANE' may be misspelled - perhaps 'AND'?
#707: FILE: drivers/net/ngbe/base/ngbe_phy_yt.h:38:
+#define   YT_BCR_ANE			MS16(12, 0x1)

total: 0 errors, 5 warnings, 0 checks, 647 lines checked


More information about the test-report mailing list