* |WARNING| pw127398 [PATCH v5 1/5] bus/cdx: introduce AMD CDX bus
[not found] <20230525100821.12148-2-nipun.gupta@amd.com>
@ 2023-05-25 10:09 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2023-05-25 10:09 UTC (permalink / raw)
To: test-report; +Cc: Nipun Gupta
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/127398
_coding style issues_
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#270: FILE: drivers/bus/cdx/bus_cdx_driver.h:86:
+#define RTE_CDX_DEVICE(vend, dev) \
+ (vend), \
+ (dev)
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#358: FILE: drivers/bus/cdx/bus_cdx_driver.h:174:
+#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, 1277 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-05-25 10:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20230525100821.12148-2-nipun.gupta@amd.com>
2023-05-25 10:09 ` |WARNING| pw127398 [PATCH v5 1/5] 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).