projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
705962c
)
sh: Shut up compiler warnings in __do_page_fault().
author
Paul Mundt
<lethal@linux-sh.org>
Thu, 10 May 2007 05:25:01 +0000
(14:25 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Mon, 14 May 2007 00:18:34 +0000
(09:18 +0900)
GCC doesn't seem to be able to figure this one out for
itself, so just shut it up..
CC arch/sh/mm/fault.o
arch/sh/mm/fault.c: In function '__do_page_fault':
arch/sh/mm/fault.c:288: warning: 'ptl' may be used uninitialized in this function
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/mm/fault.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/sh/mm/fault.c
b/arch/sh/mm/fault.c
index 9207da67ff8a669841170bc73b600f9782d3037d..62d028921036438e2ba8aa8692616723cace8232 100644
(file)
--- a/
arch/sh/mm/fault.c
+++ b/
arch/sh/mm/fault.c
@@
-285,7
+285,7
@@
asmlinkage int __kprobes __do_page_fault(struct pt_regs *regs,
pte_t *pte;
pte_t entry;
struct mm_struct *mm = current->mm;
- spinlock_t *ptl;
+ spinlock_t *ptl
= NULL
;
int ret = 1;
#ifdef CONFIG_SH_KGDB