diff options
author | Roland Dreier <rolandd@cisco.com> | 2010-08-04 23:27:01 +0200 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2010-08-04 23:27:01 +0200 |
commit | df924f833c0389c9f5206b073e87e9f5f3e857d3 (patch) | |
tree | 28672c9cf609462af28a812d041e7dc8f1a32306 /drivers/infiniband | |
parent | RDMA/nes: Get rid of "set but not used" variables (diff) | |
download | linux-df924f833c0389c9f5206b073e87e9f5f3e857d3.tar.xz linux-df924f833c0389c9f5206b073e87e9f5f3e857d3.zip |
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/infiniband')
-rw-r--r-- | drivers/infiniband/hw/nes/nes.c | 2 |
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) i++; } - return snprintf(buf, PAGE_SIZE, "0x%X\n", wqm_quanta); + return snprintf(buf, PAGE_SIZE, "0x%X\n", wqm_quanta_value); } |