diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2018-03-09 16:42:25 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-03-09 16:42:25 -0800 |
| commit | cfc79ae844d835b6eda5de199dd08c84cc4e6087 (patch) | |
| tree | eb99a85c6ce9b2b7ad205bd10bac6ab65bb5cd98 /kernel/panic.c | |
| parent | c68a2cf07ad726c09a8724258e25ca9400fdf9ee (diff) | |
| parent | ac68b1b3b9c73e652dc7ce0585672e23c5a2dca4 (diff) | |
| download | cachepc-linux-cfc79ae844d835b6eda5de199dd08c84cc4e6087.tar.gz cachepc-linux-cfc79ae844d835b6eda5de199dd08c84cc4e6087.zip | |
Merge branch 'akpm' (patches from Andrew)
Merge misc fixes from Andrew Morton:
"8 fixes"
* emailed patches from Andrew Morton <akpm@linux-foundation.org>:
lib/test_kmod.c: fix limit check on number of test devices created
selftests/vm/run_vmtests: adjust hugetlb size according to nr_cpus
mm/page_alloc: fix memmap_init_zone pageblock alignment
mm/memblock.c: hardcode the end_pfn being -1
mm/gup.c: teach get_user_pages_unlocked to handle FOLL_NOWAIT
lib/bug.c: exclude non-BUG/WARN exceptions from report_bug()
bug: use %pB in BUG and stack protector failure
hugetlb: fix surplus pages accounting
Diffstat (limited to 'kernel/panic.c')
| -rw-r--r-- | kernel/panic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/panic.c b/kernel/panic.c index 2cfef408fec9..4b794f1d8561 100644 --- a/kernel/panic.c +++ b/kernel/panic.c @@ -640,7 +640,7 @@ device_initcall(register_warn_debugfs); */ __visible void __stack_chk_fail(void) { - panic("stack-protector: Kernel stack is corrupted in: %p\n", + panic("stack-protector: Kernel stack is corrupted in: %pB\n", __builtin_return_address(0)); } EXPORT_SYMBOL(__stack_chk_fail); |
