Commit af43bfc3 authored by Zhenzhong Duan's avatar Zhenzhong Duan Committed by Zheng Zengkai
Browse files

csky: Fix a size determination in gpr_get()



stable inclusion
from stable-5.10.20
commit 02309dd337374e110909de81cfe463c7b82c2e2d
bugzilla: 50608

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

[ Upstream commit 8bfb6764 ]

"*" is missed  in size determination as we are passing register set
rather than a pointer.

Fixes: dcad7854 ("sky: switch to ->regset_get()")
Signed-off-by: default avatarZhenzhong Duan <zhenzhong.duan@gmail.com>
Signed-off-by: default avatarGuo Ren <guoren@linux.alibaba.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Acked-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 4ae5ef80
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment