Re: [PATCH -next] vfio/mlx5: Switch to use module_pci_driver() macro

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 03, 2022 at 01:07:42PM -0600, Alex Williamson wrote:
> On Thu, 22 Sep 2022 20:35:07 +0800
> Shang XiaoJing <shangxiaojing@xxxxxxxxxx> wrote:
> 
> > Since pci provides the helper macro module_pci_driver(), we may replace
> > the module_init/exit with it.
> > 
> > Signed-off-by: Shang XiaoJing <shangxiaojing@xxxxxxxxxx>
> > ---
> >  drivers/vfio/pci/mlx5/main.c | 13 +------------
> >  1 file changed, 1 insertion(+), 12 deletions(-)
> 
> Nice cleanup.  Yishai?  Thanks,

Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>

Jason



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux