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

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Jul 6 11:58:49 CEST 2021


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

_coding style issues_


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

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

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#607: 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
#608: 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
#609: 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
#610: 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
#611: 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, 545 lines checked


More information about the test-report mailing list