lkml.org 
[lkml]   [2018]   [Dec]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [v2] powerpc/mm: make NULL pointer deferences explicit on bad page faults.
Date
On Fri, 2018-12-14 at 15:23:33 UTC, Christophe Leroy wrote:
> As several other arches including x86, this patch makes it explicit
> that a bad page fault is a NULL pointer dereference when the fault
> address is lower than PAGE_SIZE
>
> In the mean time, this page makes all bad_page_fault() messages shorter
> so that they remain on one single line. And it prefixes them by "BUG: "
> so that they get easily greped.
>
> Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/49a502ea23bf9dec47f8f3c3960909

cheers

\
 
 \ /
  Last update: 2018-12-22 18:03    [W:0.082 / U:16.824 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site