[dpdk-test-report] |WARNING| pw93775 [PATCH v5 13/24] net/ngbe: support link update

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Jun 2 11:41:47 CEST 2021


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

_coding style issues_


WARNING:REPEATED_WORD: Possible repeated word: 'param'
#516: FILE: drivers/net/ngbe/ngbe_ethdev.c:590:
+ * @param param

WARNING:REPEATED_WORD: Possible repeated word: 'param'
#564: FILE: drivers/net/ngbe/ngbe_ethdev.c:638:
+ * @param param

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#595: FILE: drivers/net/ngbe/ngbe_ethdev.h:10:
+#define NGBE_FLAG_NEED_LINK_UPDATE (uint32_t)(1 << 0)

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#596: FILE: drivers/net/ngbe/ngbe_ethdev.h:11:
+#define NGBE_FLAG_MAILBOX          (uint32_t)(1 << 1)

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#597: FILE: drivers/net/ngbe/ngbe_ethdev.h:12:
+#define NGBE_FLAG_PHY_INTERRUPT    (uint32_t)(1 << 2)

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#598: FILE: drivers/net/ngbe/ngbe_ethdev.h:13:
+#define NGBE_FLAG_MACSEC           (uint32_t)(1 << 3)

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#599: FILE: drivers/net/ngbe/ngbe_ethdev.h:14:
+#define NGBE_FLAG_NEED_LINK_CONFIG (uint32_t)(1 << 4)

total: 5 errors, 2 warnings, 0 checks, 532 lines checked


More information about the test-report mailing list