From fc9977b64c1fbf1317a23692ca9662c78f43a297 Mon Sep 17 00:00:00 2001 From: Amir Vadai Date: Mon, 28 Feb 2011 11:33:58 +0200 Subject: [PATCH] sdp: fix sdp_sendmsg counters in sdpstats Signed-off-by: Amir Vadai --- drivers/infiniband/ulp/sdp/sdp_proc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/infiniband/ulp/sdp/sdp_proc.c b/drivers/infiniband/ulp/sdp/sdp_proc.c index b57e2182aec6b..e4a94aedd5922 100644 --- a/drivers/infiniband/ulp/sdp/sdp_proc.c +++ b/drivers/infiniband/ulp/sdp/sdp_proc.c @@ -326,9 +326,9 @@ static void sdpstats_seq_hist(struct seq_file *seq, char *str, u32 *h, int n, unsigned int __i; \ for_each_possible_cpu(__i) { \ unsigned int __j; \ - u32 *h = per_cpu(sdpstats, __i).hist; \ + u32 *hh = per_cpu(sdpstats, __i).hist; \ for (__j = 0; __j < hist_len; __j++) { \ - sum[__j] += h[__j]; \ + sum[__j] += hh[__j]; \ } \ } \ }) -- 2.51.0