* [dpdk-test-report] |WARNING| pw61167 [PATCH v5 03/13] vhost: try to unroll for each loop
[not found] <20191015143014.1656-4-yong.liu@intel.com>
@ 2019-10-15 15:47 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2019-10-15 15:47 UTC (permalink / raw)
To: test-report; +Cc: Marvin Liu
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/61167
_coding style issues_
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#85: FILE: lib/librte_vhost/vhost.h:47:
+#define for_each_try_unroll(iter, val, size) _Pragma("GCC unroll 4") \
+ for (iter = val; iter < size; iter++)
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#90: FILE: lib/librte_vhost/vhost.h:52:
+#define for_each_try_unroll(iter, val, size) _Pragma("unroll 4") \
+ for (iter = val; iter < size; iter++)
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#95: FILE: lib/librte_vhost/vhost.h:57:
+#define for_each_try_unroll(iter, val, size) _Pragma("unroll (4)") \
+ for (iter = val; iter < size; iter++)
total: 3 errors, 0 warnings, 67 lines checked
^ permalink raw reply [flat|nested] only message in thread