[dpdk-test-report] |WARNING| pw61842 [PATCH v9 03/13] vhost: try to unroll for each loop
checkpatch at dpdk.org
checkpatch at dpdk.org
Thu Oct 24 10:29:04 CEST 2019
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/61842
_coding style issues_
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#90: FILE: lib/librte_vhost/vhost.h:47:
+#define vhost_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
#95: FILE: lib/librte_vhost/vhost.h:52:
+#define vhost_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
#100: FILE: lib/librte_vhost/vhost.h:57:
+#define vhost_for_each_try_unroll(iter, val, size) _Pragma("unroll (4)") \
+ for (iter = val; iter < size; iter++)
total: 3 errors, 0 warnings, 67 lines checked
More information about the test-report
mailing list