Re: [PATCH v14 19/26] vfio: Test kvm pointer in _vfio_device_get_kvm_safe()

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

 



On Mon, Jul 10, 2023 at 07:59:21PM -0700, Yi Liu wrote:
> This saves some lines when adding the kvm get logic for the vfio_device
> cdev path.
> 
> This also renames _vfio_device_get_kvm_safe() to be vfio_device_get_kvm_safe().
> 
> Suggested-by: Jason Gunthorpe <jgg@xxxxxxxxxx>
> Signed-off-by: Yi Liu <yi.l.liu@xxxxxxxxx>
> ---
>  drivers/vfio/group.c     | 7 +------
>  drivers/vfio/vfio.h      | 6 +++---
>  drivers/vfio/vfio_main.c | 5 ++++-
>  3 files changed, 8 insertions(+), 10 deletions(-)

Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>

Jason



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux