aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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