drm/nouveau: nvkm: vmm: silence warning from cast
authorDanilo Krummrich <dakr@redhat.com>
Mon, 7 Aug 2023 16:32:23 +0000 (18:32 +0200)
committerDanilo Krummrich <dakr@redhat.com>
Tue, 8 Aug 2023 02:47:14 +0000 (04:47 +0200)
commit85b7d20f46ac3b8cbdc921a9e7bb3d1b70ed051d
tree7c9a9cb0f02207617926955d1dccc18073e63bf8
parent65c54fe0c85520f800091ae8d95b60792918d07a
drm/nouveau: nvkm: vmm: silence warning from cast

Cast the integer to a pointer-sized type first to keep the compiler
happy.

Fixes: 6b252cf42281 ("drm/nouveau: nvkm/vmm: implement raw ops to manage uvmm")
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Danilo Krummrich <dakr@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230807163238.2091-3-dakr@redhat.com
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c