* [dpdk-test-report] |WARNING| pw19100 [PATCH 1/2] net/virtio: fix performance regression due to TSO enabling
[not found] <1484108832-19907-2-git-send-email-yuanhan.liu@linux.intel.com>
@ 2017-01-11 4:25 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-01-11 4:25 UTC (permalink / raw)
To: test-report; +Cc: Yuanhan Liu
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/19100
_coding style issues_
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'var' - possible side-effects?
#94: FILE: drivers/net/virtio/virtio_rxtx.c:262:
+#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?
#94: FILE: drivers/net/virtio/virtio_rxtx.c:262:
+#define ASSIGN_UNLESS_EQUAL(var, val) do { \
+ if ((var) != (val)) \
+ (var) = (val); \
+} while (0)
total: 0 errors, 0 warnings, 2 checks, 36 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-01-11 4:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1484108832-19907-2-git-send-email-yuanhan.liu@linux.intel.com>
2017-01-11 4:25 ` [dpdk-test-report] |WARNING| pw19100 [PATCH 1/2] net/virtio: fix performance regression due to TSO enabling 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).