Module Name: src
Committed By: skrll
Date: Tue Dec 11 12:59:03 UTC 2012
Modified Files:
src/sys/dev/usb: usb_subr.c
Log Message:
DPRINTF improvement - print the address of the pipe we return not where
in memory we return the address (which is mostly useless)
To generate a diff of this commit:
cvs rdiff -u -r1.183 -r1.184 src/sys/dev/usb/usb_subr.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/usb/usb_subr.c
diff -u src/sys/dev/usb/usb_subr.c:1.183 src/sys/dev/usb/usb_subr.c:1.184
--- src/sys/dev/usb/usb_subr.c:1.183 Sun Jul 15 21:13:31 2012
+++ src/sys/dev/usb/usb_subr.c Tue Dec 11 12:59:03 2012
@@ -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_setup_pipe(usbd_device_handle dev,
usbd_pipe_handle p;
usbd_status err;
- 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);
+ DPRINTFN(1,("usbd_setup_pipe: dev=%p iface=%p ep=%p pipe=%p\n",
+ dev, iface, ep, p));
if (p == NULL)
return (USBD_NOMEM);
p->device = dev;