mirror of
https://github.com/torvalds/linux
synced 2024-09-22 03:55:39 +00:00
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>
This commit is contained in:
parent
69d5102383
commit
df924f833c
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue