diff options
| author | Lu Baolu <baolu.lu@linux.intel.com> | 2019-05-21 15:27:35 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-29 10:21:44 +0100 |
| commit | 0e1a75ff1f6288d95c21ca688a8e6326b47b1c8a (patch) | |
| tree | 6060b917bfd2e6d053fda261f1b3adc5351d0867 /scripts | |
| parent | a6ba95a3d42442872aa5d520e55c44f9f1d536e9 (diff) | |
iommu: Use right function to get group for device
[ Upstream commit 57274ea25736496ee019a5c40479855b21888839 ]
The iommu_group_get_for_dev() will allocate a group for a
device if it isn't in any group. This isn't the use case
in iommu_request_dm_for_dev(). Let's use iommu_group_get()
instead.
Fixes: d290f1e70d85a ("iommu: Introduce iommu_request_dm_for_dev()")
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
