[dpdk-test-report] |WARNING| pw25842 [PATCH 2/2] cxgbe: fix supported speed capabilities

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Jun 29 23:54:36 CEST 2017


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

_coding style issues_


WARNING:SINGLE_STATEMENT_DO_WHILE_MACRO: Single statement macros should not use a do {} while (0) loop
#87: FILE: drivers/net/cxgbe/cxgbe_main.c:1049:
+#define SET_SPEED(__speed_name) \
+	do { \
+		*speed_caps |= ETH_LINK_ ## __speed_name; \
+	} while (0)

total: 0 errors, 1 warnings, 0 checks, 133 lines checked


More information about the test-report mailing list