Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb Add a missing break that should have been includ...



details:   https://anonhg.NetBSD.org/src/rev/48659c5b9582
branches:  trunk
changeset: 826400:48659c5b9582
user:      skrll <skrll%NetBSD.org@localhost>
date:      Fri Sep 01 15:19:59 2017 +0000

description:
Add a missing break that should have been included in revision 1.163.

Spotted by "sc dying" and reported on current-users

diffstat:

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

diffs (26 lines):

diff -r 5ed27014d36e -r 48659c5b9582 sys/dev/usb/usb.c
--- a/sys/dev/usb/usb.c Fri Sep 01 14:38:23 2017 +0000
+++ b/sys/dev/usb/usb.c Fri Sep 01 15:19:59 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: usb.c,v 1.165 2017/01/19 16:05:00 skrll Exp $  */
+/*     $NetBSD: usb.c,v 1.166 2017/09/01 15:19:59 skrll Exp $  */
 
 /*
  * Copyright (c) 1998, 2002, 2008, 2012 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: usb.c,v 1.165 2017/01/19 16:05:00 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: usb.c,v 1.166 2017/09/01 15:19:59 skrll Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -775,6 +775,7 @@
                        len = UGETW(ur->ucr_request.wLength);
                        kmem_free(ptr, len);
                }
+               break;
        }
 
        case USB_DEVICEINFO:



Home | Main Index | Thread Index | Old Index