mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 00:53:34 +02:00
iommufd 6.11 rc first pull
Two small fixes: - Incorrect error unwind in iommufd_device_do_replace() - Correct a sparse warning missing static -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRRRCHOFoQz/8F5bUaFwuHvBreFYQUCZsUc4QAKCRCFwuHvBreF YZwsAPwONmbC7pXeXfuT69SgebRZTGTQTYK7d5jTH6AW8w+KKwD+LwYWI6N9E1f0 7I/5jO5QYHURDzjv0DKJVBWrU5jUaQE= =QqJc -----END PGP SIGNATURE----- Merge tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/git/jgg/iommufd Pull iommufd fixes from Jason Gunthorpe: - Incorrect error unwind in iommufd_device_do_replace() - Correct a sparse warning missing static * tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/git/jgg/iommufd: iommufd/selftest: Make dirty_ops static iommufd/device: Fix hwpt at err_unresv in iommufd_device_do_replace()
This commit is contained in:
commit
0108b7be2a
|
|
@ -526,7 +526,7 @@ iommufd_device_do_replace(struct iommufd_device *idev,
|
|||
err_unresv:
|
||||
if (hwpt_is_paging(hwpt))
|
||||
iommufd_group_remove_reserved_iova(igroup,
|
||||
to_hwpt_paging(old_hwpt));
|
||||
to_hwpt_paging(hwpt));
|
||||
err_unlock:
|
||||
mutex_unlock(&idev->igroup->lock);
|
||||
return ERR_PTR(rc);
|
||||
|
|
|
|||
|
|
@ -273,7 +273,7 @@ static int mock_domain_read_and_clear_dirty(struct iommu_domain *domain,
|
|||
return 0;
|
||||
}
|
||||
|
||||
const struct iommu_dirty_ops dirty_ops = {
|
||||
static const struct iommu_dirty_ops dirty_ops = {
|
||||
.set_dirty_tracking = mock_domain_set_dirty_tracking,
|
||||
.read_and_clear_dirty = mock_domain_read_and_clear_dirty,
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user