Re: [PATCH v6 11/20] vfio/mdev: idxd: Add basic driver setup for idxd mdev

Jason Gunthorpe
2021-05-23T23:52:23Z

On Fri, May 21, 2021 at 05:20:13PM -0700, Dave Jiang wrote:
> +static int idxd_mdev_drv_probe(struct device *dev)
> +{
> + struct idxd_wq *wq = confdev_to_wq(dev);
> + struct idxd_device *idxd = wq->idxd;

Something has gone wrong that the probe function for a
idxd_device_driver has this generic signature..

Jason