Re: [PATCH v4 1/2] vfio/pci: Have all VFIO PCI drivers store the vfio_pci_core_device in drvdata

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

 



On Fri, May 06, 2022 at 09:42:53AM -0600, Alex Williamson wrote:
> On Thu,  5 May 2022 20:21:39 -0300
> Jason Gunthorpe <jgg@xxxxxxxxxx> wrote:
> 
> > Having a consistent pointer in the drvdata will allow the next patch to
> > make use of the drvdata from some of the core code helpers.
> > 
> > Use a WARN_ON inside vfio_pci_core_enable() to detect drivers that miss
> > this.
> 
> Stale comment, I'll
> 
> s/vfio_pci_core_enable/vfio_pci_core_register_device/
> 
> on commit.  Looks ok otherwise.  Thanks,

Yes, thanks

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