]> www.infradead.org Git - users/jedix/linux-maple.git/commit
USB: devio: fix a condition in async_completed()
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 18 May 2015 12:29:51 +0000 (15:29 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Aug 2015 16:29:05 +0000 (09:29 -0700)
commitf32f8e6652d70c8453129fc4b9048a1eef6bc48c
tree945c8aa5797b7f8ca3428ead3fa1db8308379261
parent2c2e438cbb85386f4622626bfcb20f799980c9e1
USB: devio: fix a condition in async_completed()

commit 83ed07c5db71bc02bd646d6eb60b48908235cdf9 upstream.

Static checkers complain that the current condition is never true.  It
seems pretty likely that it's a typo and "URB" was intended instead of
"USB".

Fixes: 3d97ff63f899 ('usbdevfs: Use scatter-gather lists for large bulk transfers')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/devio.c