drm/amd/powerplay: Fix smu_table_entry.handle type
authorAndrey Grodzovsky <[email protected]>
Wed, 17 Jan 2018 22:24:13 +0000 (17:24 -0500)
committerAlex Deucher <[email protected]>
Thu, 18 Jan 2018 21:10:36 +0000 (16:10 -0500)
commitadab595d16abe48e9c097f000bf8921d35b28fb7
tree85683e5697ae976fa93d5e9ee72130e10bf3790b
parent8f2112f84c3c2acd3fcc8b922e78b6758db902db
drm/amd/powerplay: Fix smu_table_entry.handle type

The handle describes kernel logical address, should be
unsigned long and not uint32_t.
Fixes KASAN error and GFP on driver unload.

Reviewed-by: Rex Zhu <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Andrey Grodzovsky <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Cc: [email protected]
drivers/gpu/drm/amd/powerplay/smumgr/rv_smumgr.h