USB: avoid urb->pipe in usbmon

This patch (as949) changes the usbmon driver to use the new urb->ep
field rather than urb->pipe.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Cc: Pete Zaitcev <zaitcev@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Alan Stern
2007-07-30 17:10:36 -04:00
committed by Greg Kroah-Hartman
parent 93cf9b909e
commit 18ea5d00d0
3 changed files with 68 additions and 38 deletions

View File

@@ -154,8 +154,8 @@ static void mon_complete(struct usb_bus *ubus, struct urb *urb)
* This should not happen.
* At this point we do not even know the bus number...
*/
printk(KERN_ERR TAG ": Null mon bus in URB, pipe 0x%x\n",
urb->pipe);
printk(KERN_ERR TAG ": Null mon bus in URB, address %p\n",
urb);
return;
}