|WARNING| pw126759 [PATCH v4 1/4] bus/cdx: introduce cdx bus

checkpatch at dpdk.org checkpatch at dpdk.org
Mon May 8 13:20:48 CEST 2023


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

_coding style issues_


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

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#272: 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
#360: 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'?
#1428: FILE: drivers/bus/cdx/private.h:9:
+#include <stdio.h>

total: 2 errors, 2 warnings, 1298 lines checked


More information about the test-report mailing list