|WARNING| pw126032 [PATCH v2 1/6] bus/cdx: introduce cdx bus

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Apr 13 15:28:48 CEST 2023


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

_coding style issues_


WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'?
#184: FILE: drivers/bus/cdx/bus_cdx_driver.h:18:
+#include <stdio.h>

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#257: FILE: drivers/bus/cdx/bus_cdx_driver.h:91:
+#define RTE_CDX_DEVICE(vend, dev)	\
+	(vend),				\
+	(dev)

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#345: FILE: drivers/bus/cdx/bus_cdx_driver.h:179:
+#define RTE_PMD_REGISTER_CDX(nm, cdx_drv) \
+	RTE_INIT(cdxinitfn_ ##nm) \
+	{\
+		(cdx_drv).driver.name = RTE_STR(nm);\
+		rte_cdx_register(&cdx_drv); \
+	} \
+	RTE_PMD_EXPORT_NAME(nm, __COUNTER__)

WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'?
#1414: FILE: drivers/bus/cdx/private.h:9:
+#include <stdio.h>

total: 2 errors, 2 warnings, 1280 lines checked
Warning in drivers/bus/cdx/cdx.c:
Using %l format, prefer %PRI*64 if type is [u]int64_t


More information about the test-report mailing list