USB: fix bug in sg initialization in usbtest
authorAlan Stern <stern@rowland.harvard.edu>
Thu, 27 Mar 2008 14:15:22 +0000 (10:15 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 2 Apr 2008 22:06:09 +0000 (15:06 -0700)
commit4756febb10d96104e08661031ba835771075419c
tree4fbcc68c889dee9c6f5812a9af35dc9985ac409b
parentd04863e9e65767feff7807c8f693ac2719dd1944
USB: fix bug in sg initialization in usbtest

This patch (as1062) fixes a bug in the scatter-gather initialization
code in the usbtest driver.  When the sg-helper conversion was
performed, it wasn't done correctly.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
CC: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/misc/usbtest.c