Module Name:    src
Committed By:   gson
Date:           Thu Dec 19 15:17:30 UTC 2019

Modified Files:
        src/sys/dev/usb: if_run.c

Log Message:
Code that's #if'ed out still ought to compile.


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/dev/usb/if_run.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/usb/if_run.c
diff -u src/sys/dev/usb/if_run.c:1.33 src/sys/dev/usb/if_run.c:1.34
--- src/sys/dev/usb/if_run.c:1.33	Tue Oct  8 07:30:58 2019
+++ src/sys/dev/usb/if_run.c	Thu Dec 19 15:17:30 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_run.c,v 1.33 2019/10/08 07:30:58 mlelstv Exp $	*/
+/*	$NetBSD: if_run.c,v 1.34 2019/12/19 15:17:30 gson Exp $	*/
 /*	$OpenBSD: if_run.c,v 1.90 2012/03/24 15:11:04 jsg Exp $	*/
 
 /*-
@@ -23,7 +23,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_run.c,v 1.33 2019/10/08 07:30:58 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_run.c,v 1.34 2019/12/19 15:17:30 gson Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -1070,7 +1070,7 @@ run_write_region_1(struct run_softc *sc,
 	USETW(req.wValue, 0);
 	USETW(req.wIndex, reg);
 	USETW(req.wLength, len);
-	return usbd_do_request(sc->sc_udev, &req, buf);
+	return usbd_do_request(sc->sc_udev, &req, __UNCONST(buf));
 #endif
 }
 

Reply via email to