]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
USB: add usbfs snooping for REAP and DISCARD
authorAlan Stern <stern@rowland.harvard.edu>
Fri, 20 Nov 2015 18:53:35 +0000 (13:53 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 Dec 2015 18:44:19 +0000 (10:44 -0800)
commita016a816bb96088ce4cd0ec890e256e4a63dfb47
tree8521f455014fac4ba8eddec26496beacf9ca2c05
parent0290cc9f044a4d24d9a64e81761ac84498dc9d73
USB: add usbfs snooping for REAP and DISCARD

This patch improves the usbfs_snoop debugging facility by adding
messages for a couple of significant events which, up to now, have not
been logged.  The events are reaping and discarding (i.e.,
cancelling) an URB.  The debugging messages include the userspace
address of the URB being reaped or discarded.

The reaping messages have to be added in four places, in order to
handle blocking and non-blocking reaps in both normal and 32-bit
compatibility mode.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/devio.c