diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2010-05-23 16:01:57 -0400 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2010-05-24 00:44:02 -0400 |
commit | 7aa5ccaae6ae6cdf6973df3378fc63b508944ce6 (patch) | |
tree | 7d5ece063f3b866de06d47c5264a759152089cdf /arch/m68knommu | |
parent | 73a9983e6f77e347a8e04861c0d55936c01ce217 (diff) |
arch/m68knommu/mm/fault.c: Checkpatch cleanup
arch/m68knommu/mm/fault.c:39: WARNING: space prohibited between function name and open parenthesis '('
arch/m68knommu/mm/fault.c:47: WARNING: braces {} are not necessary for any arm of this statement
arch/m68knommu/mm/fault.c:51: ERROR: space required after that ',' (ctx:VxV)
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68knommu')
-rw-r--r-- | arch/m68knommu/mm/fault.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/m68knommu/mm/fault.c b/arch/m68knommu/mm/fault.c index 6f6673cb582..bc05cf74d9c 100644 --- a/arch/m68knommu/mm/fault.c +++ b/arch/m68knommu/mm/fault.c | |||
@@ -2,7 +2,7 @@ | |||
2 | * linux/arch/m68knommu/mm/fault.c | 2 | * linux/arch/m68knommu/mm/fault.c |
3 | * | 3 | * |
4 | * Copyright (C) 1998 D. Jeff Dionne <jeff@lineo.ca>, | 4 | * Copyright (C) 1998 D. Jeff Dionne <jeff@lineo.ca>, |
5 | * Copyright (C) 2000 Lineo, Inc. (www.lineo.com) | 5 | * Copyright (C) 2000 Lineo, Inc. (www.lineo.com) |
6 | * | 6 | * |
7 | * Based on: | 7 | * Based on: |
8 | * | 8 | * |
@@ -36,7 +36,7 @@ asmlinkage int do_page_fault(struct pt_regs *regs, unsigned long address, | |||
36 | unsigned long error_code) | 36 | unsigned long error_code) |
37 | { | 37 | { |
38 | #ifdef DEBUG | 38 | #ifdef DEBUG |
39 | printk (KERN_DEBUG "regs->sr=%#x, regs->pc=%#lx, address=%#lx, %ld\n", | 39 | printk(KERN_DEBUG "regs->sr=%#x, regs->pc=%#lx, address=%#lx, %ld\n", |
40 | regs->sr, regs->pc, address, error_code); | 40 | regs->sr, regs->pc, address, error_code); |
41 | #endif | 41 | #endif |
42 | 42 | ||
@@ -44,11 +44,11 @@ asmlinkage int do_page_fault(struct pt_regs *regs, unsigned long address, | |||
44 | * Oops. The kernel tried to access some bad page. We'll have to | 44 | * Oops. The kernel tried to access some bad page. We'll have to |
45 | * terminate things with extreme prejudice. | 45 | * terminate things with extreme prejudice. |
46 | */ | 46 | */ |
47 | if ((unsigned long) address < PAGE_SIZE) { | 47 | if ((unsigned long) address < PAGE_SIZE) |
48 | printk(KERN_ALERT "Unable to handle kernel NULL pointer dereference"); | 48 | printk(KERN_ALERT "Unable to handle kernel NULL pointer dereference"); |
49 | } else | 49 | else |
50 | printk(KERN_ALERT "Unable to handle kernel access"); | 50 | printk(KERN_ALERT "Unable to handle kernel access"); |
51 | printk(KERN_ALERT " at virtual address %08lx\n",address); | 51 | printk(KERN_ALERT " at virtual address %08lx\n", address); |
52 | die_if_kernel("Oops", regs, error_code); | 52 | die_if_kernel("Oops", regs, error_code); |
53 | do_exit(SIGKILL); | 53 | do_exit(SIGKILL); |
54 | 54 | ||