net: rds: use for_each_sg() for scatterlist parsing
commitd2a9ec6472650c49ac3f285637b9c04b53f11ae6
authorFabian Frederick <fabf@skynet.be>
Tue, 16 Jun 2015 18:44:07 +0000 (16 20:44 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 21 Jun 2015 16:32:08 +0000 (21 09:32 -0700)
tree848d2ea1f17d75d20094fca6a9b82bb29548ea5a
parent59f211181b5b10d4a95e1b9226febb0c0b6497c6
net: rds: use for_each_sg() for scatterlist parsing

This patch also renames sg to sglist and aligns function parameters.
See Documentation/DMA-API.txt - Part Id for scatterlist details

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/ib.h