Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb DPRINTF improvement - print the address of the p...
details: https://anonhg.NetBSD.org/src/rev/15b72a132965
branches: trunk
changeset: 783213:15b72a132965
user: skrll <skrll%NetBSD.org@localhost>
date: Tue Dec 11 12:59:03 2012 +0000
description:
DPRINTF improvement - print the address of the pipe we return not where
in memory we return the address (which is mostly useless)
diffstat:
sys/dev/usb/usb_subr.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r eeed48ec5ad7 -r 15b72a132965 sys/dev/usb/usb_subr.c
--- a/sys/dev/usb/usb_subr.c Tue Dec 11 09:17:31 2012 +0000
+++ b/sys/dev/usb/usb_subr.c Tue Dec 11 12:59:03 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: usb_subr.c,v 1.183 2012/07/15 21:13:31 mrg Exp $ */
+/* $NetBSD: usb_subr.c,v 1.184 2012/12/11 12:59:03 skrll Exp $ */
/* $FreeBSD: src/sys/dev/usb/usb_subr.c,v 1.18 1999/11/17 22:33:47 n_hibma Exp $ */
/*
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: usb_subr.c,v 1.183 2012/07/15 21:13:31 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: usb_subr.c,v 1.184 2012/12/11 12:59:03 skrll Exp $");
#include "opt_compat_netbsd.h"
#include "opt_usbverbose.h"
@@ -741,9 +741,9 @@
usbd_pipe_handle p;
usbd_status err;
+ p = malloc(dev->bus->pipe_size, M_USB, M_NOWAIT);
DPRINTFN(1,("usbd_setup_pipe: dev=%p iface=%p ep=%p pipe=%p\n",
- dev, iface, ep, pipe));
- p = malloc(dev->bus->pipe_size, M_USB, M_NOWAIT);
+ dev, iface, ep, p));
if (p == NULL)
return (USBD_NOMEM);
p->device = dev;
Home |
Main Index |
Thread Index |
Old Index