Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/dev/lib/libugenhc Return a valid error in rumpusb_r...
details: https://anonhg.NetBSD.org/src/rev/65585401136d
branches: trunk
changeset: 331124:65585401136d
user: skrll <skrll%NetBSD.org@localhost>
date: Sat Aug 02 07:18:47 2014 +0000
description:
Return a valid error in rumpusb_root_intr_start on failure.
diffstat:
sys/rump/dev/lib/libugenhc/ugenhc.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 41f2aaf25e74 -r 65585401136d sys/rump/dev/lib/libugenhc/ugenhc.c
--- a/sys/rump/dev/lib/libugenhc/ugenhc.c Sat Aug 02 06:20:56 2014 +0000
+++ b/sys/rump/dev/lib/libugenhc/ugenhc.c Sat Aug 02 07:18:47 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ugenhc.c,v 1.18 2014/03/20 20:42:08 christos Exp $ */
+/* $NetBSD: ugenhc.c,v 1.19 2014/08/02 07:18:47 skrll Exp $ */
/*
* Copyright (c) 2009, 2010 Antti Kantee. All Rights Reserved.
@@ -61,7 +61,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ugenhc.c,v 1.18 2014/03/20 20:42:08 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ugenhc.c,v 1.19 2014/08/02 07:18:47 skrll Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -667,7 +667,7 @@
error = kthread_create(PRI_NONE, 0, NULL,
rhscintr, sc, &sc->sc_rhintr, "ugenrhi");
if (error)
- xfer->status = error;
+ xfer->status = USBD_IOERROR;
}
return (USBD_IN_PROGRESS);
Home |
Main Index |
Thread Index |
Old Index