diff options
author | Lu Baolu <[email protected]> | 2018-07-14 15:46:55 +0800 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2018-07-20 14:44:23 +0200 |
commit | 51261aac51a05c791ef880a100ac2ceed201ef72 (patch) | |
tree | 427a95318d407d446d98ede3381c794a4a29599b /lib/memory-notifier-error-inject.c | |
parent | 562831747f6299abd481b5b00bd4fa19d5c8a259 (diff) |
iommu/vt-d: Avoid using idr_for_each_entry()
idr_for_each_entry() is used to iteratte over idr elements
of a given type. It isn't suitable for the globle pasid idr
since the pasid idr consumer could specify different types
of pointers to bind with a pasid.
Cc: Ashok Raj <[email protected]>
Cc: Jacob Pan <[email protected]>
Cc: Kevin Tian <[email protected]>
Cc: Liu Yi L <[email protected]>
Signed-off-by: Lu Baolu <[email protected]>
Reviewed-by: Kevin Tian <[email protected]>
Reviewed-by: Liu Yi L <[email protected]>
Reviewed-by: Peter Xu <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions