]> git.baikalelectronics.ru Git - kernel.git/commit
iommu: Directly use ida_alloc()/free()
authorKe Liu <liuke94@huawei.com>
Wed, 8 Jun 2022 02:16:55 +0000 (02:16 +0000)
committerJoerg Roedel <jroedel@suse.de>
Wed, 22 Jun 2022 12:47:48 +0000 (14:47 +0200)
commitdedfa14196c3e986eaf4dc54ec7256dc7518e1be
treef4ee7c37425a26efae6178472e5a076092bc8680
parent4764e99deee460568d59e6c88fcf402440c6a616
iommu: Directly use ida_alloc()/free()

Use ida_alloc()/ida_free() instead of deprecated
ida_simple_get()/ida_simple_remove().

Signed-off-by: Ke Liu <liuke94@huawei.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Link: https://lore.kernel.org/r/20220608021655.1538087-1-liuke94@huawei.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/iommu.c