mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-28 17:41:50 +00:00
ath9k: Fix txq memory address printing in debugfs.
No use printing addresses of pointers, just print the pointers themselves. Signed-off-by: Ben Greear <greearb@candelatech.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
557d99a269
commit
db7889cda3
1 changed files with 4 additions and 4 deletions
|
@ -562,10 +562,10 @@ static ssize_t read_file_xmit(struct file *file, char __user *user_buf,
|
||||||
PR("hw-tx-proc-desc: ", txprocdesc);
|
PR("hw-tx-proc-desc: ", txprocdesc);
|
||||||
len += snprintf(buf + len, size - len,
|
len += snprintf(buf + len, size - len,
|
||||||
"%s%11p%11p%10p%10p\n", "txq-memory-address:",
|
"%s%11p%11p%10p%10p\n", "txq-memory-address:",
|
||||||
&(sc->tx.txq_map[WME_AC_BE]),
|
sc->tx.txq_map[WME_AC_BE],
|
||||||
&(sc->tx.txq_map[WME_AC_BK]),
|
sc->tx.txq_map[WME_AC_BK],
|
||||||
&(sc->tx.txq_map[WME_AC_VI]),
|
sc->tx.txq_map[WME_AC_VI],
|
||||||
&(sc->tx.txq_map[WME_AC_VO]));
|
sc->tx.txq_map[WME_AC_VO]);
|
||||||
if (len >= size)
|
if (len >= size)
|
||||||
goto done;
|
goto done;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue