summaryrefslogtreecommitdiff
path: root/drivers/w1
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2021-03-19 11:06:55 +0000
committerMichael Ellerman <mpe@ellerman.id.au>2021-04-03 21:22:19 +1100
commit362471b3192e4184fff5fedee1ea20bdf637a0c8 (patch)
tree7ac4ec1511ebea6086e6e60cf35e89c656d3ddc0 /drivers/w1
parentca9e1605cdd9473a0eb4d6da238d2524be12591a (diff)
downloadlinux-362471b3192e4184fff5fedee1ea20bdf637a0c8.tar.gz
linux-362471b3192e4184fff5fedee1ea20bdf637a0c8.tar.bz2
linux-362471b3192e4184fff5fedee1ea20bdf637a0c8.zip
powerpc/signal32: Perform access_ok() inside restore_user_regs()
In preparation of using user_access_begin/end in restore_user_regs(), move the access_ok() inside the function. It makes no difference as the behaviour on a failed access_ok() is the same as on failed restore_user_regs(). Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/c106eb2f37c3040f1fd38b40e50c670feb7cb835.1616151715.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'drivers/w1')
0 files changed, 0 insertions, 0 deletions