[dpdk-test-report] |WARNING| pw19100 [PATCH 1/2] net/virtio: fix performance regression due to TSO enabling

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Jan 11 05:25:27 CET 2017


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


More information about the test-report mailing list