]> git.baikalelectronics.ru Git - kernel.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)
commitcf8f55103ff4f2a843b65e982bdec82cece42b35
treea2b92da4985269307579a6dc7f863d5995ed453f
parentab95519c5fa14ecf40fa34d0788464ad54df7ebb
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