Commit ea3bfd09 authored by YuanShang's avatar YuanShang Committed by Baogen Shang
Browse files

drm/amdgpu: correct chunk_ptr to a pointer to chunk.

stable inclusion
from stable-v5.10.205
commit 13b1fa5407949fb7ada3d2362c5099e18b2a25c8
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8AS5P
CVE: NA

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.205&id=13b1fa5407949fb7ada3d2362c5099e18b2a25c8



-------------------------

[ Upstream commit 50d51374b498457c4dea26779d32ccfed12ddaff ]

The variable "chunk_ptr" should be a pointer pointing
to a struct drm_amdgpu_cs_chunk instead of to a pointer
of that.

Signed-off-by: default avatarYuanShang <YuanShang.Mao@amd.com>
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarBaogen Shang <baogen.shang@windriver.com>
parent 4ab210f9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment