Skip to content

Commit 7aa5cca

Browse files
Gelmagregungerer
authored andcommitted
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 <[email protected]> Signed-off-by: Greg Ungerer <[email protected]>
1 parent 73a9983 commit 7aa5cca

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

arch/m68knommu/mm/fault.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* linux/arch/m68knommu/mm/fault.c
33
*
44
* Copyright (C) 1998 D. Jeff Dionne <[email protected]>,
5-
* Copyright (C) 2000 Lineo, Inc. (www.lineo.com)
5+
* Copyright (C) 2000 Lineo, Inc. (www.lineo.com)
66
*
77
* Based on:
88
*
@@ -36,19 +36,19 @@ asmlinkage int do_page_fault(struct pt_regs *regs, unsigned long address,
3636
unsigned long error_code)
3737
{
3838
#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",
4040
regs->sr, regs->pc, address, error_code);
4141
#endif
4242

4343
/*
4444
* Oops. The kernel tried to access some bad page. We'll have to
4545
* terminate things with extreme prejudice.
4646
*/
47-
if ((unsigned long) address < PAGE_SIZE) {
47+
if ((unsigned long) address < PAGE_SIZE)
4848
printk(KERN_ALERT "Unable to handle kernel NULL pointer dereference");
49-
} else
49+
else
5050
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);
5252
die_if_kernel("Oops", regs, error_code);
5353
do_exit(SIGKILL);
5454

0 commit comments

Comments
 (0)