iommufd: Add three missing structures in ucmd_buffer
authorYi Liu <yi.l.liu@intel.com>
Fri, 20 Jan 2023 12:20:40 +0000 (04:20 -0800)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 23 Jan 2023 18:29:04 +0000 (14:29 -0400)
commit84798f2849942bb5e8817417adfdfa6241df2835
tree8bf0ec098f0bd986e24e361d37c6a8589f3e9be2
parent9fabbdf338b701f2d763d9edbc3e82ce1e7fa1b4
iommufd: Add three missing structures in ucmd_buffer

struct iommu_ioas_copy, struct iommu_option and struct iommu_vfio_ioas are
missed in ucmd_buffer. Although they are smaller than the size of
ucmd_buffer, it is safer to list them in ucmd_buffer explicitly.

Fixes: aad37e71d5c4 ("iommufd: IOCTLs for the io_pagetable")
Fixes: d624d6652a65 ("iommufd: vfio container FD ioctl compatibility")
Link: https://lore.kernel.org/r/20230120122040.280219-1-yi.l.liu@intel.com
Signed-off-by: Yi Liu <yi.l.liu@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/iommu/iommufd/main.c