Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/raidframe fix mistake fallthrough in the ioctl switc...



details:   https://anonhg.NetBSD.org/src/rev/bdf90696fc44
branches:  trunk
changeset: 818007:bdf90696fc44
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Mon Sep 19 23:37:10 2016 +0000

description:
fix mistake fallthrough in the ioctl switch introduced in previous commit

diffstat:

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

diffs (30 lines):

diff -r 94ae4a4103b1 -r bdf90696fc44 sys/dev/raidframe/rf_netbsdkintf.c
--- a/sys/dev/raidframe/rf_netbsdkintf.c        Mon Sep 19 23:32:30 2016 +0000
+++ b/sys/dev/raidframe/rf_netbsdkintf.c        Mon Sep 19 23:37:10 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rf_netbsdkintf.c,v 1.346 2016/09/19 23:32:30 jdolecek Exp $    */
+/*     $NetBSD: rf_netbsdkintf.c,v 1.347 2016/09/19 23:37:10 jdolecek Exp $    */
 
 /*-
  * Copyright (c) 1996, 1997, 1998, 2008-2011 The NetBSD Foundation, Inc.
@@ -101,7 +101,7 @@
  ***********************************************************/
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.346 2016/09/19 23:32:30 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.347 2016/09/19 23:37:10 jdolecek Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd.h"
@@ -1789,9 +1789,11 @@
        switch (cmd) {
        case DIOCCACHESYNC:
                retcode = rf_sync_component_caches(raidPtr);
+               break;
 
        default:
                retcode = dk_ioctl(dksc, dev, cmd, data, flag, l);
+               break;
        }
 
        return (retcode);



Home | Main Index | Thread Index | Old Index