* [dpdk-test-report] |WARNING| pw48241 [RFC, 3/3] test/tqs: Add API and functional tests
[not found] <20181122033055.3431-4-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/48241
_coding style issues_
WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#114: FILE: test/test/test_tqs.c:16:
+#define TQS_RETURN_IF_ERROR(tqs, cond, str, ...) do { \
+ if (cond) { \
+ printf("ERROR file %s, line %d: " str "
", __FILE__, \
+ __LINE__, ##__VA_ARGS__); \
+ if (tqs) \
+ rte_tqs_free(tqs); \
+ return -1; \
+ } \
+} while (0)
total: 0 errors, 1 warnings, 583 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-4-honnappa.nagarahalli@arm.com>
2018-11-22 3:33 ` [dpdk-test-report] |WARNING| pw48241 [RFC, 3/3] test/tqs: Add API and functional tests 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).