automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw21419 [v4 1/3] Merge l3fwd-acl and l3fwd code.
       [not found] <1488743225-25750-2-git-send-email-rkerur@gmail.com>
@ 2017-03-05 19:48 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-03-05 19:48 UTC (permalink / raw)
  To: test-report; +Cc: Ravi Kerur

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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#3516: FILE: examples/l3fwd/l3fwd_acl.h:58:
+#define GET_CB_FIELD(in, fd, base, lim, dlm)	do {            \
+	unsigned long val;                                      \
+	char *end;                                              \
+	errno = 0;                                              \
+	val = strtoul((in), &end, (base));                      \
+	if (errno != 0 || end[0] != (dlm) || val > (lim))       \
+		return -EINVAL;                               \
+	(fd) = (typeof(fd))val;                                 \
+	(in) = end + 1;                                         \
+} while (0)

WARNING:LONG_LINE: line over 90 characters
#3980: FILE: examples/l3fwd/l3fwd_lpm.c:230:
+				"Unable to add entry %u to v4 LPM table on socket %d
", i, socketid);

WARNING:LONG_LINE: line over 90 characters
#4005: FILE: examples/l3fwd/l3fwd_lpm.c:267:
+				"Unable to add entry %u to the l3fwd LPM table on socket %d
", i, socketid);

WARNING:LONG_LINE_STRING: line over 90 characters
#4115: FILE: examples/l3fwd/main.c:349:
+		"  --"OPTION_ETH_DEST"=X,MM:MM:MM:MM:MM:MM: Ethernet destination for port X
"

WARNING:LONG_LINE_STRING: line over 90 characters
#4125: FILE: examples/l3fwd/main.c:354:
+		"  --"OPTION_HASH_ENTRY_NUM": Specify the hash entry number in hexadecimal to be setup
"

WARNING:LONG_LINE: line over 90 characters
#4419: FILE: examples/l3fwd/main.c:1013:
+					rte_exit(EXIT_FAILURE, "Can't allocate tx buffer for port %u
", (unsigned int) portid);

total: 0 errors, 6 warnings, 2090 lines checked

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

only message in thread, other threads:[~2017-03-05 19:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1488743225-25750-2-git-send-email-rkerur@gmail.com>
2017-03-05 19:48 ` [dpdk-test-report] |WARNING| pw21419 [v4 1/3] Merge l3fwd-acl and l3fwd code 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).