commit | 7a0f06c197cb5e2106da8507b5610c1bb9c7daac | [log] [tgz] |
---|---|---|
author | Parav Pandit <parav@nvidia.com> | Thu Jun 10 10:01:15 2021 +0800 |
committer | Joerg Roedel <jroedel@suse.de> | Thu Jun 10 09:06:14 2021 +0200 |
tree | b35b646ae0b2b698ff9864bf4629a4b3654d5a2c | |
parent | 9739ba327c01e26f672661ea751132c29a54d3d9 [diff] |
iommu/vt-d: No need to typecast Page directory assignment by alloc_pgtable_page() or phys_to_virt() doesn't need typecasting as both routines return void*. Hence, remove typecasting from both the calls. Signed-off-by: Parav Pandit <parav@nvidia.com> Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> Link: https://lore.kernel.org/r/20210530075053.264218-1-parav@nvidia.com Link: https://lore.kernel.org/r/20210610020115.1637656-24-baolu.lu@linux.intel.com Signed-off-by: Joerg Roedel <jroedel@suse.de>