[PATCH] powerpc/ptrace: Remove duplicate check from pt_regs_check()
Michael Ellerman
patch-notifications at ellerman.id.au
Wed Mar 31 12:09:26 AEDT 2021
On Fri, 5 Mar 2021 14:28:07 +0300, Denis Efremov wrote:
> "offsetof(struct pt_regs, msr) == offsetof(struct user_pt_regs, msr)"
> checked in pt_regs_check() twice in a row. Remove the second check.
Applied to powerpc/next.
[1/1] powerpc/ptrace: Remove duplicate check from pt_regs_check()
https://git.kernel.org/powerpc/c/0b71b37241784c309bea6bd6a9d2027943c4ab94
cheers
More information about the Linuxppc-dev
mailing list