Akinobu Mita 8c07a308ec sparc: use for_each_sg()
This replaces the plain loop over the sglist array with for_each_sg()
macro which consists of sg_next() function calls.  Since sparc does select
ARCH_HAS_SG_CHAIN, it is necessary to use for_each_sg() in order to loop
over each sg element.  This also help find problems with drivers that do
not properly initialize their sg tables when CONFIG_DEBUG_SG is enabled.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2015-06-24 17:49:40 -07:00
..
2015-06-10 10:19:24 -07:00
2015-04-16 18:48:55 -04:00
2015-06-24 17:49:38 -07:00
2015-06-24 08:44:40 -07:00
2015-06-24 17:49:40 -07:00
2015-06-24 17:49:38 -07:00
2015-06-24 17:49:40 -07:00
2015-05-19 15:42:25 +02:00
2015-04-16 13:53:32 -05:00