[dpdk-test-report] |WARNING| pw25251 [PATCH v4 08/11] net/e1000: parse flex filter

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Jun 12 08:41:36 CEST 2017


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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#32: FILE: drivers/net/e1000/e1000_ethdev.h:153:
+#define MAC_TYPE_FILTER_SUP_EXT(type)    do {\
+	if ((type) != e1000_82580 && (type) != e1000_i350 &&\
+		(type) != e1000_i210 && (type) != e1000_i211)\
+		return -ENOSYS; \
+} while (0)

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#35: FILE: drivers/net/e1000/e1000_ethdev.h:156:
+		return -ENOSYS; \

total: 0 errors, 2 warnings, 0 checks, 308 lines checked


More information about the test-report mailing list