]> git.hungrycats.org Git - linux/commit
USB: OHCI: fix bugs in debug routines
authorAlan Stern <stern@rowland.harvard.edu>
Thu, 17 Jul 2014 20:32:26 +0000 (16:32 -0400)
committerJiri Slaby <jslaby@suse.cz>
Wed, 3 Sep 2014 19:31:05 +0000 (21:31 +0200)
commit6a04d05acfb51355443d2c895b4591d7f5cfd751
tree6df910f51a5ff9915beeff3661b4eed986bc7eae
parente4ca8b780c82c04ec03fcd05d9e3f92fc6de6347
USB: OHCI: fix bugs in debug routines

commit 256dbcd80f1ccf8abf421c1d72ba79a4e29941dd upstream.

The debug routine fill_async_buffer() in ohci-hcd is buggy: It never
produces any output because it forgets to initialize the output buffer
size.  Also, the debug routine ohci_dump() has an unused argument.

This patch adds the correct initialization and removes the unused
argument.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/usb/host/ohci-dbg.c
drivers/usb/host/ohci-hcd.c