Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Fix type of return value in xhci_do_command
details: https://anonhg.NetBSD.org/src/rev/6efe002b04f8
branches: trunk
changeset: 344975:6efe002b04f8
user: skrll <skrll%NetBSD.org@localhost>
date: Sat Apr 30 14:56:20 2016 +0000
description:
Fix type of return value in xhci_do_command
diffstat:
sys/dev/usb/xhci.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 0e7226f9fbb4 -r 6efe002b04f8 sys/dev/usb/xhci.c
--- a/sys/dev/usb/xhci.c Sat Apr 30 14:53:06 2016 +0000
+++ b/sys/dev/usb/xhci.c Sat Apr 30 14:56:20 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: xhci.c,v 1.37 2016/04/30 14:53:06 skrll Exp $ */
+/* $NetBSD: xhci.c,v 1.38 2016/04/30 14:56:20 skrll Exp $ */
/*
* Copyright (c) 2013 Jonathan A. Kollasch
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xhci.c,v 1.37 2016/04/30 14:53:06 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xhci.c,v 1.38 2016/04/30 14:56:20 skrll Exp $");
#include "opt_usb.h"
@@ -2603,7 +2603,7 @@
{
mutex_enter(&sc->sc_lock);
- int ret = xhci_do_command_locked(sc, trb, timeout);
+ usbd_status ret = xhci_do_command_locked(sc, trb, timeout);
mutex_exit(&sc->sc_lock);
return ret;
Home |
Main Index |
Thread Index |
Old Index