aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2010-08-04 17:27:01 -0400
committerRoland Dreier <rolandd@cisco.com>2010-08-04 17:27:01 -0400
commitdf924f833c0389c9f5206b073e87e9f5f3e857d3 (patch)
tree28672c9cf609462af28a812d041e7dc8f1a32306 /drivers
parent69d510238300c0888ec17e4a811279fe7760b527 (diff)
RDMA/nes: Fix showing wqm_quanta
In nes_show_wqm_quanta(), the wrong value is printed. Fix this. Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/infiniband/hw/nes/nes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/nes/nes.c b/drivers/infiniband/hw/nes/nes.c
index 969a01c1b11e..d53480e6f03f 100644
--- a/drivers/infiniband/hw/nes/nes.c
+++ b/drivers/infiniband/hw/nes/nes.c
@@ -1099,7 +1099,7 @@ static ssize_t nes_show_wqm_quanta(struct device_driver *ddp, char *buf)
1099 i++; 1099 i++;
1100 } 1100 }
1101 1101
1102 return snprintf(buf, PAGE_SIZE, "0x%X\n", wqm_quanta); 1102 return snprintf(buf, PAGE_SIZE, "0x%X\n", wqm_quanta_value);
1103} 1103}
1104 1104
1105 1105