* [dpdk-test-report] |WARNING| pw67813 [PATCH v4 2/4] test/rcu: test cases for RCU defer queue APIs
[not found] <20200403184142.7729-3-honnappa.nagarahalli@arm.com>
@ 2020-04-03 18:42 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2020-04-03 18:42 UTC (permalink / raw)
To: test-report; +Cc: Honnappa Nagarahalli
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/67813
_coding style issues_
WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#90: FILE: app/test/test_rcu_qsbr.c:29:
+#define TEST_RCU_QSBR_GOTO_IF_ERROR(label, cond, str, ...) \
+do { \
+ if (cond) { \
+ printf("ERROR file %s, line %d: " str "
", __FILE__, \
+ __LINE__, ##__VA_ARGS__); \
+ goto label; \
+ } \
+} while (0)
total: 0 errors, 1 warnings, 408 lines checked
^ permalink raw reply [flat|nested] only message in thread