On Tue, Apr 15, 2025 at 05:05:17PM -0700, Stephen Hemminger wrote: > On Mon, 14 Apr 2025 18:21:36 -0700 > Andre Muezerie <andre...@linux.microsoft.com> wrote: > > > diff --git a/drivers/baseband/acc/rte_acc100_pmd.c > > b/drivers/baseband/acc/rte_acc100_pmd.c > > index b7f02f56e1..a4cbe6f42f 100644 > > --- a/drivers/baseband/acc/rte_acc100_pmd.c > > +++ b/drivers/baseband/acc/rte_acc100_pmd.c > > @@ -4082,9 +4082,9 @@ static struct rte_pci_driver acc100_pci_vf_driver = { > > .drv_flags = RTE_PCI_DRV_NEED_MAPPING > > }; > > > > -RTE_PMD_REGISTER_PCI(ACC100PF_DRIVER_NAME, acc100_pci_pf_driver); > > +RTE_PMD_REGISTER_PCI(ACC100PF_DRIVER_NAME, acc100_pci_pf_driver, __LINE__); > > Rather than changing so many drivers, can't you just use __LINE__ in the > macro?
Yes, that's possible, and would be better. I sent out a V4 with these changes.