Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys Fix non-DIAGNOSTIC builds.
details: https://anonhg.NetBSD.org/src/rev/b192496d44ee
branches: trunk
changeset: 848955:b192496d44ee
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sat Feb 15 13:56:55 2020 +0000
description:
Fix non-DIAGNOSTIC builds.
diffstat:
sys/dev/usb/motg.c | 6 +++---
sys/external/bsd/dwc2/dwc2.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (54 lines):
diff -r 67bcf00f9d29 -r b192496d44ee sys/dev/usb/motg.c
--- a/sys/dev/usb/motg.c Sat Feb 15 13:51:33 2020 +0000
+++ b/sys/dev/usb/motg.c Sat Feb 15 13:56:55 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: motg.c,v 1.28 2020/02/15 07:46:48 skrll Exp $ */
+/* $NetBSD: motg.c,v 1.29 2020/02/15 13:56:55 riastradh Exp $ */
/*
* Copyright (c) 1998, 2004, 2011, 2012, 2014 The NetBSD Foundation, Inc.
@@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: motg.c,v 1.28 2020/02/15 07:46:48 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: motg.c,v 1.29 2020/02/15 13:56:55 riastradh Exp $");
#ifdef _KERNEL_OPT
#include "opt_usb.h"
@@ -1056,7 +1056,7 @@
void
motg_root_intr_close(struct usbd_pipe *pipe)
{
- struct motg_softc *sc = MOTG_PIPE2SC(pipe);
+ struct motg_softc *sc __diagused = MOTG_PIPE2SC(pipe);
MOTGHIST_FUNC(); MOTGHIST_CALLED();
KASSERT(mutex_owned(&sc->sc_lock));
diff -r 67bcf00f9d29 -r b192496d44ee sys/external/bsd/dwc2/dwc2.c
--- a/sys/external/bsd/dwc2/dwc2.c Sat Feb 15 13:51:33 2020 +0000
+++ b/sys/external/bsd/dwc2/dwc2.c Sat Feb 15 13:56:55 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dwc2.c,v 1.69 2020/02/15 01:21:56 riastradh Exp $ */
+/* $NetBSD: dwc2.c,v 1.70 2020/02/15 13:56:56 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dwc2.c,v 1.69 2020/02/15 01:21:56 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dwc2.c,v 1.70 2020/02/15 13:56:56 riastradh Exp $");
#include "opt_usb.h"
@@ -683,7 +683,7 @@
Static void
dwc2_root_intr_close(struct usbd_pipe *pipe)
{
- struct dwc2_softc *sc = DWC2_PIPE2SC(pipe);
+ struct dwc2_softc *sc __diagused = DWC2_PIPE2SC(pipe);
DPRINTF("\n");
Home |
Main Index |
Thread Index |
Old Index