automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw116287 [PATCH v6 16/27] bus/pci: make driver-only headers private
       [not found] <20220914075841.51555-17-david.marchand@redhat.com>
@ 2022-09-14  8:02 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2022-09-14  8:02 UTC (permalink / raw)
  To: test-report; +Cc: David Marchand

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

_coding style issues_


ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#434: FILE: drivers/bus/pci/bus_pci_driver.h:63:
+#define RTE_PCI_DEVICE(vend, dev) \
+	RTE_CLASS_ANY_ID,         \
+	(vend),                   \
+	(dev),                    \
+	RTE_PCI_ANY_ID,           \
+	RTE_PCI_ANY_ID

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#538: FILE: drivers/bus/pci/bus_pci_driver.h:167:
+#define RTE_PMD_REGISTER_PCI(nm, pci_drv) \
+RTE_INIT(pciinitfn_ ##nm) \
+{\
+	(pci_drv).driver.name = RTE_STR(nm);\
+	rte_pci_register(&pci_drv); \
+} \
+RTE_PMD_EXPORT_NAME(nm, __COUNTER__)

total: 2 errors, 0 warnings, 1496 lines checked

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-09-14  8:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20220914075841.51555-17-david.marchand@redhat.com>
2022-09-14  8:02 ` |WARNING| pw116287 [PATCH v6 16/27] bus/pci: make driver-only headers private 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).