Re: [PATCH v2 07/10] avr32: use for_each_sg()

2015-05-03 Thread Hans-Christian Egtvedt
Around Fri 01 May 2015 22:56:40 +0900 or thereabout, Akinobu Mita wrote: > This replaces the plain loop over the sglist array with for_each_sg() > macro which consists of sg_next() function calls. Since avr32 doesn't > select ARCH_HAS_SG_CHAIN, it is not necessary to use for_each_sg() in > order t

[PATCH v2 07/10] avr32: use for_each_sg()

2015-05-01 Thread Akinobu Mita
This replaces the plain loop over the sglist array with for_each_sg() macro which consists of sg_next() function calls. Since avr32 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 d