aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorShuo Liu <[email protected]>2021-03-10 15:37:08 +0000
committerGreg Kroah-Hartman <[email protected]>2021-03-10 15:59:50 +0000
commit1201d68f4781141411e734315f22457e6ea2cfcb (patch)
treeb4d23de51bc3030657891a28179c6b2f53c35fb5 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentvirt: acrn: Use EPOLLIN instead of POLLIN (diff)
downloadkernel-1201d68f4781141411e734315f22457e6ea2cfcb.tar.gz
kernel-1201d68f4781141411e734315f22457e6ea2cfcb.zip
virt: acrn: Correct type casting of argument of copy_from_user()
hsm.c:336:50: warning: incorrect type in argument 2 (different address spaces) hsm.c:336:50: expected void const [noderef] __user *from hsm.c:336:50: got void * This patch fixes above sparse warning. Fixes: 3d679d5aec64 ("virt: acrn: Introduce interfaces to query C-states and P-states allowed by hypervisor") Reported-by: kernel test robot <[email protected]> Signed-off-by: Shuo Liu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions