]> www.infradead.org Git - users/willy/linux.git/commit
drm/amd/display: Fix for outbox1 ring buffer typecasting issue
authorMeenakshikumar Somasundaram <meenakshikumar.somasundaram@amd.com>
Wed, 3 Mar 2021 23:31:03 +0000 (18:31 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Mar 2021 03:32:19 +0000 (23:32 -0400)
commit45150cd27ceb8f5e86122a85620df68a89011560
treea2b92da4985269307579a6dc7f863d5995ed453f
parent6a30a92997eee49554f72b462dce90abe54a496f
drm/amd/display: Fix for outbox1 ring buffer typecasting issue

[WHY]
Compiler warning "pointer to integer of different size" reported on
outbox1 ring buffer address typecasting.

Reported-by: kernel test robot <lkp@intel.com>
[HOW]
Fixed the issue by typecasting with character pointer.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Meenakshikumar Somasundaram <meenakshikumar.somasundaram@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Solomon Chiu <solomon.chiu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c