Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Code that's #if'ed out still ought to compile.
details: https://anonhg.NetBSD.org/src/rev/228e1f316e2d
branches: trunk
changeset: 967715:228e1f316e2d
user: gson <gson%NetBSD.org@localhost>
date: Thu Dec 19 15:17:30 2019 +0000
description:
Code that's #if'ed out still ought to compile.
diffstat:
sys/dev/usb/if_run.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r d84e80269f77 -r 228e1f316e2d sys/dev/usb/if_run.c
--- a/sys/dev/usb/if_run.c Thu Dec 19 10:51:54 2019 +0000
+++ b/sys/dev/usb/if_run.c Thu Dec 19 15:17:30 2019 +0000
@@ -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 @@
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
}
Home |
Main Index |
Thread Index |
Old Index