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
..
2008-12-04 09:17:15 -08:00
2014-05-18 19:01:30 -07:00
2008-12-04 09:17:21 -08:00
2014-05-18 19:01:29 -07:00
2008-12-04 09:17:21 -08:00
2008-12-04 09:17:21 -08:00
2008-12-04 09:17:21 -08:00
2012-07-26 16:46:15 -07:00
2015-03-19 18:54:49 -07:00
2014-10-05 16:53:40 -07:00
2008-12-04 09:17:21 -08:00
2008-12-04 09:17:21 -08:00
2014-08-26 13:45:55 -04:00
2015-06-24 17:49:40 -07:00
2015-03-19 10:17:22 -05:00
2014-05-18 19:01:29 -07:00
2008-12-04 09:17:21 -08:00
2014-08-26 13:45:55 -04:00
2014-12-14 16:10:09 -08:00
2008-12-04 09:17:21 -08:00
2015-03-19 18:54:49 -07:00
2013-06-13 22:12:14 +01:00
2012-03-28 18:30:03 +01:00
2008-12-04 09:17:21 -08:00
2014-08-26 13:45:55 -04:00
2008-12-04 09:17:21 -08:00
2014-07-21 22:27:56 -07:00
2014-12-13 12:42:51 -08:00
2008-12-04 09:17:21 -08:00
2014-09-30 14:17:08 -07:00