]> git.baikalelectronics.ru Git - kernel.git/commit
csky: Fix a size determination in gpr_get()
authorZhenzhong Duan <zhenzhong.duan@gmail.com>
Tue, 22 Sep 2020 09:15:05 +0000 (17:15 +0800)
committerGuo Ren <guoren@linux.alibaba.com>
Tue, 12 Jan 2021 01:52:41 +0000 (09:52 +0800)
commit162590fed45e333667ee028fa1fe24a2eca8cf3d
tree5be86a2d23598a9107e8254e8f156fadbe4d0367
parent6216dddf8d29c7779350593b7418dd822bf92a8b
csky: Fix a size determination in gpr_get()

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

Fixes: d20bc3ac9d1b ("sky: switch to ->regset_get()")
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@gmail.com>
Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
arch/csky/kernel/ptrace.c