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

From: Jason Gunthorpe
Date: Sun May 23 2021 - 19:52:23 EST


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