NetBSD-Bugs archive

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

port-arc/42523: Missing parenthesis in sys/arch/arc/dti/btl.c .



>Number:         42523
>Category:       port-arc
>Synopsis:       Missing parenthesis in sys/arch/arc/dti/btl.c .
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-arc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 27 08:20:00 +0000 2009
>Originator:     Henning Petersen
>Release:        NetBSD-current
>Organization:
>Environment:
>Description:
Missing parenthesis found witf cppcheck.
>How-To-Repeat:

>Fix:
diff -u -r1.23 btl.c
--- sys/arch/arc/dti/btl.c      27 Nov 2009 03:23:04 -0000      1.23
+++ sys/arch/arc/dti/btl.c      1 Dec 2009 09:23:09 -0000
@@ -886,7 +886,7 @@
  * Find the board and find it's irq/drq
  */
 int
-bt_find(struct isa_attach_args *ia, struct bt_softc *sc0
+bt_find(struct isa_attach_args *ia, struct bt_softc *sc0)
 {
        int iobase = ia->ia_iobase;
        int i;



Home | Main Index | Thread Index | Old Index