automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw61547 [PATCH v7 03/13] vhost: try to unroll for each loop
       [not found] <20191021154016.16274-4-yong.liu@intel.com>
@ 2019-10-21  8:01 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2019-10-21  8:01 UTC (permalink / raw)
  To: test-report; +Cc: Marvin Liu

Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/61547

_coding style issues_


ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#84: 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
#89: 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
#94: 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-10-21  8:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20191021154016.16274-4-yong.liu@intel.com>
2019-10-21  8:01 ` [dpdk-test-report] |WARNING| pw61547 [PATCH v7 03/13] vhost: try to unroll for each loop 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).