Commit 419a87e6 authored by Bjorn Helgaas's avatar Bjorn Helgaas Committed by David Mosberger

[PATCH] ia64: fix kernel NULL-pointer message

Add missing newline to kernel version of NULL-pointer message and also print
the address while we're at it.
parent 3992826c
...@@ -233,7 +233,7 @@ ia64_do_page_fault (unsigned long address, unsigned long isr, struct pt_regs *re ...@@ -233,7 +233,7 @@ ia64_do_page_fault (unsigned long address, unsigned long isr, struct pt_regs *re
bust_spinlocks(1); bust_spinlocks(1);
if (address < PAGE_SIZE) if (address < PAGE_SIZE)
printk(KERN_ALERT "Unable to handle kernel NULL pointer dereference"); printk(KERN_ALERT "Unable to handle kernel NULL pointer dereference (address %016lx)\n", address);
else else
printk(KERN_ALERT "Unable to handle kernel paging request at " printk(KERN_ALERT "Unable to handle kernel paging request at "
"virtual address %016lx\n", address); "virtual address %016lx\n", address);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment