diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2015-05-01 08:47:22 +0200 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2015-06-01 10:36:29 +0200 |
commit | 1214c525484cabb27ed37df936c3451682757263 (patch) | |
tree | 6e61f889d8c4c01d8e7e71eb585a550e489843f6 /arch/ia64/kernel/efi.c | |
parent | m68k/defconfig: Update defconfigs for v4.1-rc6 (diff) | |
download | linux-1214c525484cabb27ed37df936c3451682757263.tar.xz linux-1214c525484cabb27ed37df936c3451682757263.zip |
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>
Diffstat (limited to 'arch/ia64/kernel/efi.c')
0 files changed, 0 insertions, 0 deletions