diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2017-01-21 16:10:50 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-01-25 13:34:22 +1100 |
commit | a967f161abc7c4a6936ceb15737f75c52bfd07f2 (patch) | |
tree | b40a6cdb43d2d56421e7bfb61fee3506ea809197 /drivers/misc/cxl | |
parent | 3c4b66a6d0d2b9f2418f9a09d528e42e2dc18acf (diff) | |
download | linux-next-a967f161abc7c4a6936ceb15737f75c52bfd07f2.tar.gz |
powerpc/mm: Return directly after a failed __copy_from_user() in sys_subpage_prot()
This function already has multiple exit points, so there's no harm
adding another. Although it looks odd to return directly in a function
which takes a lock, we've actually just dropped the mmap_sem in this
code, so there's really no reason to go via a label. And it means we can
drop the unhelpfully named out2 label.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
[mpe: Rewrite change log]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers/misc/cxl')
0 files changed, 0 insertions, 0 deletions