[dpdk-test-report] |WARNING| pw94335 [PATCH v6 10/19] net/ngbe: support link update

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Jun 17 13:01:04 CEST 2021


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

_coding style issues_


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

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

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#613: 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
#614: 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
#615: 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
#616: 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
#617: 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, 551 lines checked


More information about the test-report mailing list