Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic sys/dev/ic/mfi.c: Add missing break in switch



details:   https://anonhg.NetBSD.org/src/rev/ac94e8c05918
branches:  trunk
changeset: 458084:ac94e8c05918
user:      gdt <gdt%NetBSD.org@localhost>
date:      Mon Jul 29 12:07:57 2019 +0000

description:
sys/dev/ic/mfi.c: Add missing break in switch

(The entire switch is guarded by MFI_DEBUG and is known not to build.)
Reported by Oskar.

diffstat:

 sys/dev/ic/mfi.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r bdefc6be990b -r ac94e8c05918 sys/dev/ic/mfi.c
--- a/sys/dev/ic/mfi.c  Mon Jul 29 11:33:07 2019 +0000
+++ b/sys/dev/ic/mfi.c  Mon Jul 29 12:07:57 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mfi.c,v 1.60 2018/11/24 18:10:29 bouyer Exp $ */
+/* $NetBSD: mfi.c,v 1.61 2019/07/29 12:07:57 gdt Exp $ */
 /* $OpenBSD: mfi.c,v 1.66 2006/11/28 23:59:45 dlg Exp $ */
 
 /*
@@ -73,7 +73,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mfi.c,v 1.60 2018/11/24 18:10:29 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mfi.c,v 1.61 2019/07/29 12:07:57 gdt Exp $");
 
 #include "bio.h"
 
@@ -869,6 +869,7 @@
                    stat->detail.bbu.remaining_capacity ,
                    stat->detail.bbu.full_charge_capacity ,
                    stat->detail.bbu.is_SOH_good);
+               break;
        default:
                printf("\n");
        }



Home | Main Index | Thread Index | Old Index