[dpdk-test-report] |WARNING| pw36400 [PATCH v2 09/18] eal/dev: implement device iteration

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Mar 21 18:17:49 CET 2018


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

_coding style issues_


ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#45: FILE: lib/librte_eal/common/eal_common_dev.c:35:
+#define ITCTX(ptr) \
+	((struct dev_next_ctx *)(intptr_t)ptr)->it

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#48: FILE: lib/librte_eal/common/eal_common_dev.c:38:
+#define BUSCTX(ptr) \
+	((struct dev_next_ctx *)(intptr_t)ptr)->busstr

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#51: FILE: lib/librte_eal/common/eal_common_dev.c:41:
+#define CLSCTX(ptr) \
+	((struct dev_next_ctx *)(intptr_t)ptr)->clsstr

total: 3 errors, 0 warnings, 206 lines checked


More information about the test-report mailing list