automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw107738 [PATCH v3 01/15] bus/vmbus: scan and get the network device
       [not found] <20220217160613.70161-2-srikanth.k@oneconvergence.com>
@ 2022-02-17 16:11 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2022-02-17 16:11 UTC (permalink / raw)
  To: test-report; +Cc: Srikanth Kaka

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

_coding style issues_


WARNING:AVOID_EXTERNS: externs should be avoided in .c files
#123: FILE: drivers/bus/vmbus/freebsd/vmbus_bus.c:27:
+extern struct rte_vmbus_bus rte_vmbus_bus;

WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#309: FILE: drivers/bus/vmbus/freebsd/vmbus_bus.c:213:
+#define UNPACK(x)						 \
+	do {							 \
+		x = strdup(walker);				 \
+		if (x == NULL)					 \
+			return -ENOMEM;				 \
+		if (walker + strnlen(walker, ep - walker) >= ep) \
+			return -EINVAL;				 \
+		walker += strlen(walker) + 1;			 \
+	} while (0)

total: 0 errors, 2 warnings, 249 lines checked

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

only message in thread, other threads:[~2022-02-17 16:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20220217160613.70161-2-srikanth.k@oneconvergence.com>
2022-02-17 16:11 ` |WARNING| pw107738 [PATCH v3 01/15] bus/vmbus: scan and get the network device 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).