Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1567842

Re: powerpc/mm: Return directly after a failed __copy_from_user() in sys_subpage_prot()

From Michael Ellerman <patch-notifications@ellerman.id.au>
Newsgroups linux.kernel
Subject Re: powerpc/mm: Return directly after a failed __copy_from_user() in sys_subpage_prot()
Date 2017-01-27 01:50 +0100
Message-ID <t42TM-5O4-21@gated-at.bofh.it> (permalink)
References <t25M5-5AY-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, 2017-01-21 at 15:24:58 UTC, SF Markus Elfring wrote:
> From: Markus Elfring <elfring@users.sourceforge.net>
> 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@users.sourceforge.net>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/a967f161abc7c4a6936ceb15737f75

cheers

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH] powerpc/mm: Return directly after a failed __copy_from_user()  in sys_subpage_prot() SF Markus Elfring <elfring@users.sourceforge.net> - 2017-01-21 16:30 +0100
  Re: powerpc/mm: Return directly after a failed __copy_from_user() in sys_subpage_prot() Michael Ellerman <patch-notifications@ellerman.id.au> - 2017-01-27 01:50 +0100

csiph-web