Commit:     b8947444a738c6407466244c60e9e4a2999af555
Parent:     705962ccc9d21a08b74b6b6e1d3cf10f98968a67
Author:     Paul Mundt <[EMAIL PROTECTED]>
AuthorDate: Thu May 10 14:25:01 2007 +0900
Committer:  Paul Mundt <[EMAIL PROTECTED]>
CommitDate: Mon May 14 09:18:34 2007 +0900

    sh: Shut up compiler warnings in __do_page_fault().
    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 
    Signed-off-by: Paul Mundt <[EMAIL PROTECTED]>
 arch/sh/mm/fault.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/sh/mm/fault.c b/arch/sh/mm/fault.c
index 9207da6..62d0289 100644
--- 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 
        pte_t *pte;
        pte_t entry;
        struct mm_struct *mm = current->mm;
-       spinlock_t *ptl;
+       spinlock_t *ptl = NULL;
        int ret = 1;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to