Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Insert missing 'break;' statements.



details:   https://anonhg.NetBSD.org/src/rev/0736029c8d74
branches:  trunk
changeset: 346549:0736029c8d74
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Mon Jul 18 21:09:05 2016 +0000

description:
Insert missing 'break;' statements.

CID 1364142

diffstat:

 sys/dev/pci/piixpm.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (32 lines):

diff -r b9fa8efc9cbf -r 0736029c8d74 sys/dev/pci/piixpm.c
--- a/sys/dev/pci/piixpm.c      Mon Jul 18 21:07:30 2016 +0000
+++ b/sys/dev/pci/piixpm.c      Mon Jul 18 21:09:05 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: piixpm.c,v 1.49 2016/07/11 11:31:51 msaitoh Exp $ */
+/* $NetBSD: piixpm.c,v 1.50 2016/07/18 21:09:05 pgoyette Exp $ */
 /*     $OpenBSD: piixpm.c,v 1.20 2006/02/27 08:25:02 grange Exp $      */
 
 /*
@@ -22,7 +22,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: piixpm.c,v 1.49 2016/07/11 11:31:51 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: piixpm.c,v 1.50 2016/07/18 21:09:05 pgoyette Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -144,11 +144,13 @@
                case PCI_PRODUCT_SERVERWORKS_HT1000SB:
                        return 1;
                }
+               break;
        case PCI_VENDOR_AMD:
                switch (PCI_PRODUCT(pa->pa_id)) {
                case PCI_PRODUCT_AMD_HUDSON_SMB:
                        return 1;
                }
+               break;
        }
 
        return 0;



Home | Main Index | Thread Index | Old Index