* [dpdk-test-report] |WARNING| pw25211 [PATCH v3 08/11] net/e1000: parse flex filter
[not found] <1496977908-2149-9-git-send-email-wei.zhao1@intel.com>
@ 2017-06-09 3:22 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-06-09 3:22 UTC (permalink / raw)
To: test-report; +Cc: zhao wei
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/25211
_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; \
WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 24)
#211: FILE: drivers/net/e1000/igb_flow.c:1156:
+ if (item->type != RTE_FLOW_ITEM_TYPE_RAW &&
[...]
+ rte_flow_error_set(error, EINVAL,
total: 0 errors, 3 warnings, 0 checks, 309 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-06-09 3:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1496977908-2149-9-git-send-email-wei.zhao1@intel.com>
2017-06-09 3:22 ` [dpdk-test-report] |WARNING| pw25211 [PATCH v3 08/11] net/e1000: parse flex filter checkpatch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).