]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0378baf4392ec99b5670522f46e6bdc2289d2a01
tree99dd471065e315f2a88a1c7b6b2ab4c4ef7302db
parent57698beadfc3c35e4c5283244afc4bc93a9647b2
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