* Re: [PATCH] kernel/freebsd: fix module build on FreeBSD 14
[not found] ` <MW4PR11MB579946AA5BF3628EFD2756539D94A@MW4PR11MB5799.namprd11.prod.outlook.com>
@ 2024-01-31 9:49 ` Thomas Monjalon
0 siblings, 0 replies; only message in thread
From: Thomas Monjalon @ 2024-01-31 9:49 UTC (permalink / raw)
To: Richardson, Bruce; +Cc: dev, Gao, DaxueX, stable
> > When building nic_uio module on FreeBSD 14, a build error is given in the
> > DRIVER_MODULE macro:
> >
> > .../nic_uio.c:84:81: error: too many arguments provided to function-like
> > macro invocation DRIVER_MODULE(nic_uio, pci, nic_uio_driver,
> > nic_uio_devclass, nic_uio_modevent, 0);
> > ^ On FreeBSD 14, the devclass
> > parameter is dropped from the macro, so we conditionally compile a different
> > invocation for BSD versions before/ after v14.
> >
> > Bugzilla Id: 1335
Id -> ID
> >
> > Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
> Tested-by: Daxue Gao <daxuex.gao@intel.com>
+Cc: stable@dpdk.org
Applied, thanks.
^ permalink raw reply [flat|nested] only message in thread