]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: Fix smu_table_entry.handle type
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Wed, 17 Jan 2018 22:24:13 +0000 (17:24 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jan 2018 21:10:36 +0000 (16:10 -0500)
commit13506e9a679e62a19a1d5ba18be34a61079308fd
tree85683e5697ae976fa93d5e9ee72130e10bf3790b
parent0134daaafe118ba29c5d8276716decc34d070f40
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 <Rex.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/powerplay/smumgr/rv_smumgr.h