Re: [PATCH 1/1 net-next] net: rds: use for_each_sg() for scatterlist parsing

2015-06-15 Thread David Miller
From: Fabian Frederick Date: Mon, 15 Jun 2015 19:13:05 +0200 > { > unsigned int i; > + struct scatterlist *sg; Please order local variables from longest to shortest line (reverse christmas tree). Thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in th

[PATCH 1/1 net-next] net: rds: use for_each_sg() for scatterlist parsing

2015-06-15 Thread Fabian Frederick
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 --- This is untested. net/rds/ib.h | 22 ++ 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/net