Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb avoid non-debug kernel build issues.
details: https://anonhg.NetBSD.org/src/rev/7947473594a8
branches: trunk
changeset: 454193:7947473594a8
user: mrg <mrg%NetBSD.org@localhost>
date: Sun Sep 08 18:58:38 2019 +0000
description:
avoid non-debug kernel build issues.
diffstat:
sys/dev/usb/xhci.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (34 lines):
diff -r feb1cf5e5b05 -r 7947473594a8 sys/dev/usb/xhci.c
--- a/sys/dev/usb/xhci.c Sun Sep 08 18:46:32 2019 +0000
+++ b/sys/dev/usb/xhci.c Sun Sep 08 18:58:38 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: xhci.c,v 1.113 2019/09/07 22:56:47 mrg Exp $ */
+/* $NetBSD: xhci.c,v 1.114 2019/09/08 18:58:38 mrg Exp $ */
/*
* Copyright (c) 2013 Jonathan A. Kollasch
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xhci.c,v 1.113 2019/09/07 22:56:47 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xhci.c,v 1.114 2019/09/08 18:58:38 mrg Exp $");
#ifdef _KERNEL_OPT
#include "opt_usb.h"
@@ -2885,12 +2885,13 @@
usbd_status err;
XHCIHIST_FUNC();
- if (bsr)
+ if (bsr) {
XHCIHIST_CALLARGS("icp %jx slot %jx with bsr",
icp, slot_id, 0, 0);
- else
+ } else {
XHCIHIST_CALLARGS("icp %jx slot %jx nobsr",
icp, slot_id, 0, 0);
+ }
trb.trb_0 = icp;
trb.trb_2 = 0;
Home |
Main Index |
Thread Index |
Old Index