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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Feb 2018 14:42:25 +0000 (15:42 +0100)
commitdc2b0e41fc5e6d11fe4539317e57cf84c67cd18d
tree5315a8da3cf0d10a050ab6ee710a9e26a87fd3ca
parentb51521c9a191083033d3d8d7174e41d33b71a9bf
drm/amd/powerplay: Fix smu_table_entry.handle type

commit adab595d16abe48e9c097f000bf8921d35b28fb7 upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/powerplay/smumgr/rv_smumgr.h