[GIT PULL] VFIO fixes for v5.13-rc5

From: Alex Williamson
Date: Thu Jun 03 2021 - 13:22:50 EST


Hi Linus,

The following changes since commit d07f6ca923ea0927a1024dfccafc5b53b61cfecc:

Linux 5.13-rc2 (2021-05-16 15:27:44 -0700)

are available in the Git repository at:

git://github.com/awilliam/linux-vfio.git tags/vfio-v5.13-rc5

for you to fetch changes up to dc51ff91cf2d1e9a2d941da483602f71d4a51472:

vfio/platform: fix module_put call in error flow (2021-05-24 13:40:13 -0600)

----------------------------------------------------------------
VFIO fixes for v5.13-rc5

- Fix error path return value (Zhen Lei)

- Add vfio-pci CONFIG_MMU dependency (Randy Dunlap)

- Replace open coding with struct_size() (Gustavo A. R. Silva)

- Fix sample driver error path (Wei Yongjun)

- Fix vfio-platform error path module_put() (Max Gurtovoy)

----------------------------------------------------------------
Gustavo A. R. Silva (1):
vfio/iommu_type1: Use struct_size() for kzalloc()

Max Gurtovoy (1):
vfio/platform: fix module_put call in error flow

Randy Dunlap (1):
vfio/pci: zap_vma_ptes() needs MMU

Wei Yongjun (1):
samples: vfio-mdev: fix error handing in mdpy_fb_probe()

Zhen Lei (1):
vfio/pci: Fix error return code in vfio_ecap_init()

drivers/vfio/pci/Kconfig | 1 +
drivers/vfio/pci/vfio_pci_config.c | 2 +-
drivers/vfio/platform/vfio_platform_common.c | 2 +-
drivers/vfio/vfio_iommu_type1.c | 2 +-
samples/vfio-mdev/mdpy-fb.c | 13 +++++++++----
5 files changed, 13 insertions(+), 7 deletions(-)