diff options
| author | Guenter Roeck <[email protected]> | 2022-04-04 13:48:59 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-04-04 15:03:04 +0000 |
| commit | 94865e2dcb46c1c852c881cfa769cec4947d8f28 (patch) | |
| tree | b6bc755dbd153a6323a07decb9b94eed861ec5df /drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c | |
| parent | Linux 5.18-rc1 (diff) | |
| download | kernel-94865e2dcb46c1c852c881cfa769cec4947d8f28.tar.gz kernel-94865e2dcb46c1c852c881cfa769cec4947d8f28.zip | |
habanalabs: Fix test build failures
allmodconfig builds on 32-bit architectures fail with the following error.
drivers/misc/habanalabs/common/memory.c: In function 'alloc_device_memory':
drivers/misc/habanalabs/common/memory.c:153:49: error:
cast from pointer to integer of different size
Fix the typecast. While at it, drop other unnecessary typecasts associated
with the same commit.
Fixes: e8458e20e0a3c ("habanalabs: make sure device mem alloc is page aligned")
Cc: Ohad Sharabi <[email protected]>
Signed-off-by: Guenter Roeck <[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_vm_sdma.c')
0 files changed, 0 insertions, 0 deletions
