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)
commit8bfb676492da208bd6dde0f22dff79840dbb5051
tree5be86a2d23598a9107e8254e8f156fadbe4d0367
parent87f3248cdb9aeac35129cb4337ce541a945cb35c
csky: Fix a size determination in gpr_get()

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

Fixes: dcad7854fcce ("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