diff options
author | Roland Dreier <rolandd@cisco.com> | 2010-08-04 14:27:01 -0700 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2010-08-04 14:27:01 -0700 |
commit | df924f833c0389c9f5206b073e87e9f5f3e857d3 (patch) | |
tree | 28672c9cf609462af28a812d041e7dc8f1a32306 /drivers/infiniband | |
parent | 69d510238300c0888ec17e4a811279fe7760b527 (diff) | |
download | blackbird-op-linux-df924f833c0389c9f5206b073e87e9f5f3e857d3.tar.gz blackbird-op-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); } |