Skip to content
Commit 0b71b372 authored by Denis Efremov's avatar Denis Efremov Committed by Michael Ellerman
Browse files

powerpc/ptrace: Remove duplicate check from pt_regs_check()



"offsetof(struct pt_regs, msr) == offsetof(struct user_pt_regs, msr)"
checked in pt_regs_check() twice in a row. Remove the second check.

Signed-off-by: default avatarDenis Efremov <efremov@linux.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210305112807.26299-1-efremov@linux.com
parent 13b8219b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment