* |WARNING| pw128194 [PATCH v7 1/4] bus/cdx: introduce AMD CDX bus
[not found] <20230606100258.26532-2-nipun.gupta@amd.com>
@ 2023-06-06 10:03 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2023-06-06 10:03 UTC (permalink / raw)
To: test-report; +Cc: Nipun Gupta
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/128194
_coding style issues_
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#259: FILE: drivers/bus/cdx/bus_cdx_driver.h:75:
+#define RTE_CDX_DEVICE(vend, dev) \
+ (vend), \
+ (dev)
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#328: FILE: drivers/bus/cdx/bus_cdx_driver.h:144:
+#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__)
total: 2 errors, 0 warnings, 1238 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-06-06 10:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20230606100258.26532-2-nipun.gupta@amd.com>
2023-06-06 10:03 ` |WARNING| pw128194 [PATCH v7 1/4] bus/cdx: introduce AMD CDX bus checkpatch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).