[dpdk-test-report] |WARNING| pw95529 [PATCH v8 05/19] net/ngbe: set MAC type and LAN ID with device initialization
checkpatch at dpdk.org
checkpatch at dpdk.org
Thu Jul 8 11:33:35 CEST 2021
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/95529
_coding style issues_
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#130: FILE: drivers/net/ngbe/base/ngbe_dummy.h:10:
+#define TUP(x) x##_unused ngbe_unused
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'x' - possible side-effects?
#405: FILE: drivers/net/ngbe/base/ngbe_osdep.h:30:
+#define ASSERT(x) do { \
+ if (!(x)) \
+ PMD_DRV_LOG(ERR, "NGBE: %d", x); \
+} while (0)
total: 1 errors, 0 warnings, 1 checks, 629 lines checked
More information about the test-report
mailing list