Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'vfio-v4.10-rc7' of git://github.com/awilliam/linux-vfio

Pull VFIO fix from Alex Williamson:
"Fix an error path in SPAPR IOMMU backend (Alexey Kardashevskiy)"

* tag 'vfio-v4.10-rc7' of git://github.com/awilliam/linux-vfio:
vfio/spapr: Fix missing mutex unlock when creating a window

+5 -6
+5 -6
drivers/vfio/vfio_iommu_spapr_tce.c
··· 1123 1123 mutex_lock(&container->lock); 1124 1124 1125 1125 ret = tce_iommu_create_default_window(container); 1126 - if (ret) 1127 - return ret; 1128 - 1129 - ret = tce_iommu_create_window(container, create.page_shift, 1130 - create.window_size, create.levels, 1131 - &create.start_addr); 1126 + if (!ret) 1127 + ret = tce_iommu_create_window(container, 1128 + create.page_shift, 1129 + create.window_size, create.levels, 1130 + &create.start_addr); 1132 1131 1133 1132 mutex_unlock(&container->lock); 1134 1133