Re: powerpc/mm: Return directly after a failed __copy_from_user() in sys_subpage_prot()
From: Michael Ellerman
Date: Thu Jan 26 2017 - 19:41:26 EST
On Sat, 2017-01-21 at 15:24:58 UTC, SF Markus Elfring wrote:
> From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
> Date: Sat, 21 Jan 2017 16:10:50 +0100
> * Return directly after a call of the function "__copy_from_user"
> failed here.
> This issue was detected by using the Coccinelle software.
> * Delete the jump label "out2" which became unnecessary with
> this refactoring.
> Signed-off-by: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
Applied to powerpc next, thanks.