[dpdk-test-report] |WARNING| pw48241 [RFC, 3/3] test/tqs: Add API and functional tests
checkpatch at dpdk.org
checkpatch at dpdk.org
Thu Nov 22 04:33:12 CET 2018
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
More information about the test-report
mailing list