USB: use standard SG iterator in the scatter-gather library
authorAlan Stern <stern@rowland.harvard.edu>
Mon, 16 Jun 2008 16:11:39 +0000 (12:11 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Jul 2008 22:16:32 +0000 (15:16 -0700)
commit7c3e28bc56bd2e4310dc0af99f2b95eeda9a2ff7
tree99dd471065e315f2a88a1c7b6b2ab4c4ef7302db
parent625f694936cbbdee98e6cc65f72724a7660e7946
USB: use standard SG iterator in the scatter-gather library

This patch (as1103) changes the iteration in the USB scatter-gather to
use a standard SG iterator.  Otherwise the iteration will fail if it
encounters a chained SG list.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Acked-by: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/message.c