Re: [PATCH 04/18] vfio/mdev: Use struct mdev_type in struct mdev_device

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

 



On Fri, Mar 26, 2021 at 02:29:56AM +0000, Tian, Kevin wrote:
> > -int mdev_create_sysfs_files(struct mdev_device *mdev, struct mdev_type
> > *type)
> > +int mdev_create_sysfs_files(struct mdev_device *mdev)
> >  {
> >  	struct kobject *kobj = &mdev->dev.kobj;
> 
> What about adding a local "struct mdev_type *type" here? otherwise,

Okay, saves two links in the diff

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