automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw48447 [v2, 2/7] examples/ipsec-secgw: allow to specify neighbor mac address
       [not found] <1543597460-6962-3-git-send-email-konstantin.ananyev@intel.com>
@ 2018-12-06 17:40 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2018-12-06 17:40 UTC (permalink / raw)
  To: test-report; +Cc: Konstantin Ananyev

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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#97: FILE: examples/ipsec-secgw/parser.c:309:
+#define PARSE_UINT8x16(s, v, l)	                          \
+do {                                                      \
+	char *end;                                        \
+	unsigned long t;                                  \
+	errno = 0;                                        \
+	t = strtoul((s), &end, 16);                       \
+	if (errno != 0 || end[0] != (l) || t > UINT8_MAX) \
+		return -EINVAL;                           \
+	(s) = end + 1;                                    \
+	(v) = t;                                          \
+} while (0)

total: 0 errors, 1 warnings, 162 lines checked

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-12-06 17:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1543597460-6962-3-git-send-email-konstantin.ananyev@intel.com>
2018-12-06 17:40 ` [dpdk-test-report] |WARNING| pw48447 [v2, 2/7] examples/ipsec-secgw: allow to specify neighbor mac address 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).