Home
last modified time | relevance | path

Searched hist:"49 a502ea23bf9dec47f8f3c3960909ff409cd1bb" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/powerpc/mm/
H A Dfault.cdiff 49a502ea23bf9dec47f8f3c3960909ff409cd1bb Fri Dec 14 09:23:33 CST 2018 Christophe Leroy <christophe.leroy@c-s.fr> powerpc/mm: Make NULL pointer deferences explicit on bad page faults.

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 grepped.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
[mpe: Avoid pr_cont()]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>