diff options
| author | Simon Leiner <[email protected]> | 2020-08-25 09:31:53 +0000 |
|---|---|---|
| committer | Juergen Gross <[email protected]> | 2020-08-27 06:58:51 +0000 |
| commit | 9d3004bf7ba32c89873bb8422671d52b4bb52ce1 (patch) | |
| tree | 3abe4c81ebdcb3f1b167489e4e3466675814e202 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | xen/xenbus: Fix granting of vmalloc'd memory (diff) | |
| download | kernel-9d3004bf7ba32c89873bb8422671d52b4bb52ce1.tar.gz kernel-9d3004bf7ba32c89873bb8422671d52b4bb52ce1.zip | |
arm/xen: Add misuse warning to virt_to_gfn
As virt_to_gfn uses virt_to_phys, it will return invalid addresses when
used with vmalloc'd addresses. This patch introduces a warning, when
virt_to_gfn is used in this way.
Signed-off-by: Simon Leiner <[email protected]>
Reviewed-by: Stefano Stabellini <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Juergen Gross <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
