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

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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#96: 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-11-22 18:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1542912591-20403-3-git-send-email-konstantin.ananyev@intel.com>
2018-11-22 18:51 ` [dpdk-test-report] |WARNING| pw48277 [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).