path: root/ipc/sem.c
diff options
authorAkinobu Mita <akinobu.mita@gmail.com>2015-06-30 14:58:30 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2015-06-30 19:44:58 -0700
commit92ed932d3081e494a6c61d22c093af100a313034 (patch)
tree6beecb5f7b26bfebb0769273e5a92c64651dcd2f /ipc/sem.c
parent9ce71148b027e2bd27016139cae1c39401587695 (diff)
arc: 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 arc 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> Acked-by: Vineet Gupta <vgupta@synopsys.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc/sem.c')
0 files changed, 0 insertions, 0 deletions

Privacy Policy