NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-hpcmips/42525: Missing backslash in sys/arch/hpcmips/tx/tx39io.c .



>Number:         42525
>Category:       port-hpcmips
>Synopsis:       Missing backslash in sys/arch/hpcmips/tx/tx39io.c .
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-hpcmips-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 27 08:30:01 +0000 2009
>Originator:     Henning Petersen
>Release:        
>Organization:
>Environment:
>Description:
Missing backslah found with cppcheck.
>How-To-Repeat:

>Fix:
diff -u -r1.21 tx39io.c
--- sys/arch/hpcmips/tx/tx39io.c        28 Apr 2008 20:23:21 -0000      1.21
+++ sys/arch/hpcmips/tx/tx39io.c        1 Dec 2009 09:04:44 -0000
@@ -86,7 +86,7 @@
 #endif
 #if defined TX391X && defined TX392X
 #define        tx39_io_intr_map(t, s, p, m)                                    
\
-       (IS_TX391X(t)
+       (IS_TX391X(t)                                                   \
            ? tx391x_io_intr_map(s, p, m) : tx392x_io_intr_map(s, p, m))
 #elif defined TX391X
 #define        tx39io_intr_map(t, s, p, m)     tx391x_io_intr_map(s, p, m)



Home | Main Index | Thread Index | Old Index