mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
drm/amdgpu/smu11: fix warning on 32bit arches
Fixes warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] on 32 bit platforms. Reviewed-by: Tao Zhou <tao.zhou1@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
296bb163e2
commit
7a65bdc690
1 changed files with 1 additions and 1 deletions
|
|
@ -527,7 +527,7 @@ static int smu_v11_0_notify_memory_pool_location(struct smu_context *smu)
|
|||
if (memory_pool->size == 0 || memory_pool->cpu_addr == NULL)
|
||||
return ret;
|
||||
|
||||
address = (uint64_t)memory_pool->cpu_addr;
|
||||
address = (uintptr_t)memory_pool->cpu_addr;
|
||||
address_high = (uint32_t)upper_32_bits(address);
|
||||
address_low = (uint32_t)lower_32_bits(address);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue