[PATCH] arm64: ptrace: user_regset_copyin_ignore() always returns 0
Sergey Shtylyov
s.shtylyov at omp.ru
Wed Sep 21 01:56:17 PDT 2022
On 9/20/22 11:54 PM, Sergey Shtylyov wrote:
> user_regset_copyin_ignore() always return 0, so checking its result seems
Oops, should've been "returns"...
> pointless -- don't do this...
>
> Found by Linux Verification Center (linuxtesting.org) with the SVACE static
> analysis tool.
>
> Signed-off-by: Sergey Shtylyov <s.shtylyov at omp.ru>
[...]
MBR, Sergey
More information about the linux-arm-kernel
mailing list