Re: [PATCH vfio 08/13] vfio: Introduce the DMA logging feature support
From: Jason Gunthorpe <jgg@nvidia.com>
Date: 2022-06-30 13:49:03
Also in:
kvm, oe-kbuild-all
From: Jason Gunthorpe <jgg@nvidia.com>
Date: 2022-06-30 13:49:03
Also in:
kvm, oe-kbuild-all
On Thu, Jun 30, 2022 at 09:40:01PM +0800, kernel test robot wrote:
1636 nnodes = control.num_ranges; 1637 if (!nnodes || nnodes > LOG_MAX_RANGES) 1638 return -EINVAL; 1639quoted
1640 ranges = (struct vfio_device_feature_dma_logging_range __user *)1641 control.ranges;
Things like this should always use u64_to_user_ptr() Jason