automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw31793 [PATCH 09/11] net/vhostpci: add TX function
       [not found] <20171130094657.11470-10-zhiyong.yang@intel.com>
@ 2017-11-30  9:48 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-11-30  9:48 UTC (permalink / raw)
  To: test-report; +Cc: Zhiyong Yang

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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'var' - possible side-effects?
#33: FILE: drivers/net/vhostpci/vhostpci_ethdev.c:57:
+#define ASSIGN_UNLESS_EQUAL(var, val) do {	\
+	if ((var) != (val))			\
+		(var) = (val);			\
+} while (0)

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'val' - possible side-effects?
#33: FILE: drivers/net/vhostpci/vhostpci_ethdev.c:57:
+#define ASSIGN_UNLESS_EQUAL(var, val) do {	\
+	if ((var) != (val))			\
+		(var) = (val);			\
+} while (0)

total: 0 errors, 0 warnings, 2 checks, 376 lines checked

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

only message in thread, other threads:[~2017-11-30  9:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20171130094657.11470-10-zhiyong.yang@intel.com>
2017-11-30  9:48 ` [dpdk-test-report] |WARNING| pw31793 [PATCH 09/11] net/vhostpci: add TX function 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).