Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=aafa1955501955bf4e53b72fee0be9f35b711b9d
Commit:     aafa1955501955bf4e53b72fee0be9f35b711b9d
Parent:     1347a2c1eb61fce8b5085801761c7b63f9e7ba8b
Author:     Kim Phillips <[EMAIL PROTECTED]>
AuthorDate: Fri Feb 1 18:09:54 2008 -0600
Committer:  Kumar Gala <[EMAIL PROTECTED]>
CommitDate: Tue Feb 5 23:38:10 2008 -0600

    [POWERPC] 83xx: mpc832x_rdb: fix compiler warning
    
    arch/powerpc/platforms/83xx/mpc832x_rdb.c: In function 
‘mpc832x_rdb_setup_arch’:
    arch/powerpc/platforms/83xx/mpc832x_rdb.c:104: warning: ‘np’ is used 
uninitialized in this function
    
    Signed-off-by: Kim Phillips <[EMAIL PROTECTED]>
    Signed-off-by: Kumar Gala <[EMAIL PROTECTED]>
---
 arch/powerpc/platforms/83xx/mpc832x_rdb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/powerpc/platforms/83xx/mpc832x_rdb.c 
b/arch/powerpc/platforms/83xx/mpc832x_rdb.c
index 9f0fd88..e7f706b 100644
--- a/arch/powerpc/platforms/83xx/mpc832x_rdb.c
+++ b/arch/powerpc/platforms/83xx/mpc832x_rdb.c
@@ -101,7 +101,7 @@ static void __init mpc832x_rdb_setup_arch(void)
 #ifdef CONFIG_QUICC_ENGINE
        qe_reset();
 
-       if ((np = of_find_node_by_name(np, "par_io")) != NULL) {
+       if ((np = of_find_node_by_name(NULL, "par_io")) != NULL) {
                par_io_init(np);
                of_node_put(np);
 
-
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  http://vger.kernel.org/majordomo-info.html

Reply via email to