* [dpdk-test-report] |WARNING| pw48240 [RFC, 2/3] tqs: add thread quiescent state library
[not found] <20181122033055.3431-3-honnappa.nagarahalli@arm.com>
@ 2018-11-22 3:33 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2018-11-22 3:33 UTC (permalink / raw)
To: test-report; +Cc: Honnappa Nagarahalli
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/48240
_coding style issues_
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#148: FILE: lib/librte_tqs/rte_tqs.c:32:
+struct rte_tqs * __rte_experimental
WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#420: FILE: lib/librte_tqs/rte_tqs.h:49:
+#define TQS_RETURN_IF_TRUE(cond, retval) do { \
+ if ((cond)) \
+ return retval; \
+} while (0)
WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#429: FILE: lib/librte_tqs/rte_tqs.h:58:
+#define TQS_ERR_LOG_IF_TRUE(cond) do { \
+ if ((cond)) { \
+ RTE_LOG(ERR, TQS, "Invalid parameters
"); \
+ return; \
+ } \
+} while (0)
total: 1 errors, 2 warnings, 680 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-11-22 3:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20181122033055.3431-3-honnappa.nagarahalli@arm.com>
2018-11-22 3:33 ` [dpdk-test-report] |WARNING| pw48240 [RFC, 2/3] tqs: add thread quiescent state library 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).