diff options
| author | Parav Pandit <[email protected]> | 2021-06-10 10:01:15 +0800 |
|---|---|---|
| committer | Joerg Roedel <[email protected]> | 2021-06-10 09:06:14 +0200 |
| commit | 7a0f06c197cb5e2106da8507b5610c1bb9c7daac (patch) | |
| tree | b35b646ae0b2b698ff9864bf4629a4b3654d5a2c /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| 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 <[email protected]>
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 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions