diff options
author | Lu Baolu <[email protected]> | 2021-06-10 10:01:00 +0800 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2021-06-10 09:06:13 +0200 |
commit | 9e52cc0fedb0fd6187a2bd01b859ea8150b588c2 (patch) | |
tree | 37b33f5e62fd1ffef37d1756a412e411707fb308 /lib/mpi/mpi-sub-ui.c | |
parent | 40483774141625b9685b177fb6e1f36de48d33f8 (diff) |
iommu/vt-d: Use common helper to lookup svm devices
It's common to iterate the svm device list and find a matched device. Add
common helpers to do this and consolidate the code.
Signed-off-by: Lu Baolu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions