[dpdk-test-report] |WARNING| pw31793 [PATCH 09/11] net/vhostpci: add TX function
checkpatch at dpdk.org
checkpatch at dpdk.org
Thu Nov 30 10:48:03 CET 2017
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
More information about the test-report
mailing list