diff options
author | Michal Simek <monstr@monstr.eu> | 2012-12-27 10:40:38 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2013-02-12 11:24:45 +0100 |
commit | 6bd55f0bbaebb79b39e147aa864401fd0c94db82 (patch) | |
tree | effef6e85fcbb6bd2687d881758a48c2377ef18e /arch/microblaze/kernel/traps.c | |
parent | 5b3084b5823339ac7bebca0701b9b89defe11c91 (diff) | |
download | op-kernel-dev-6bd55f0bbaebb79b39e147aa864401fd0c94db82.zip op-kernel-dev-6bd55f0bbaebb79b39e147aa864401fd0c94db82.tar.gz |
microblaze: Fix coding style issues
Fix coding style issues reported by checkpatch.pl.
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/kernel/traps.c')
-rw-r--r-- | arch/microblaze/kernel/traps.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/microblaze/kernel/traps.c b/arch/microblaze/kernel/traps.c index 5541ac5..a37b2b1 100644 --- a/arch/microblaze/kernel/traps.c +++ b/arch/microblaze/kernel/traps.c @@ -26,7 +26,7 @@ static unsigned long kstack_depth_to_print; /* 0 == entire stack */ static int __init kstack_setup(char *s) { - return !strict_strtoul(s, 0, &kstack_depth_to_print); + return !kstrtoul(s, 0, &kstack_depth_to_print); } __setup("kstack=", kstack_setup); @@ -66,9 +66,7 @@ void show_stack(struct task_struct *task, unsigned long *sp) } print_hex_dump(KERN_INFO, "", DUMP_PREFIX_ADDRESS, 32, 4, (void *)fp, words_to_show << 2, 0); - printk(KERN_INFO "\n\n"); - - pr_info("Call Trace:\n"); + pr_info("\n\nCall Trace:\n"); microblaze_unwind(task, NULL); pr_info("\n"); |