Akinobu Mita 1214c52548 m68k: 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 m68k doesn't
select ARCH_HAS_SG_CHAIN, it is not necessary to use for_each_sg() in
order to loop over each sg element.  But this can 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: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: linux-m68k@lists.linux-m68k.org
Cc: linux-arch@vger.kernel.org
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
2015-06-01 10:36:29 +02:00
..
2009-01-12 20:56:32 +01:00
2013-12-08 11:01:47 +01:00
2015-06-01 10:36:29 +02:00
2012-03-28 18:30:02 +01:00
2013-12-08 11:01:47 +01:00
2014-05-28 10:10:04 +02:00
2013-04-08 17:39:26 +02:00
2013-12-08 11:01:47 +01:00
2015-01-11 11:14:14 +01:00
2012-03-28 18:30:02 +01:00