diff options
author | Ben Greear | 2011-03-04 01:25:59 +0100 |
---|---|---|
committer | John W. Linville | 2011-03-04 20:06:49 +0100 |
commit | db7889cda3571bfd0d3a3fc79ca0cd16bb321ff2 (patch) | |
tree | 0be029f5f22985b7a5f116596dfe3ace243ac263 /drivers/net/wireless | |
parent | rt2x00: Remove unused rt2x00queue_get_queue function. (diff) | |
download | kernel-qcow2-linux-db7889cda3571bfd0d3a3fc79ca0cd16bb321ff2.tar.gz kernel-qcow2-linux-db7889cda3571bfd0d3a3fc79ca0cd16bb321ff2.tar.xz kernel-qcow2-linux-db7889cda3571bfd0d3a3fc79ca0cd16bb321ff2.zip |
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>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/debug.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/ath/ath9k/debug.c b/drivers/net/wireless/ath/ath9k/debug.c index d404aa0ac76a..8df5a92a20f1 100644 --- a/drivers/net/wireless/ath/ath9k/debug.c +++ b/drivers/net/wireless/ath/ath9k/debug.c @@ -562,10 +562,10 @@ static ssize_t read_file_xmit(struct file *file, char __user *user_buf, PR("hw-tx-proc-desc: ", txprocdesc); len += snprintf(buf + len, size - len, "%s%11p%11p%10p%10p\n", "txq-memory-address:", - &(sc->tx.txq_map[WME_AC_BE]), - &(sc->tx.txq_map[WME_AC_BK]), - &(sc->tx.txq_map[WME_AC_VI]), - &(sc->tx.txq_map[WME_AC_VO])); + sc->tx.txq_map[WME_AC_BE], + sc->tx.txq_map[WME_AC_BK], + sc->tx.txq_map[WME_AC_VI], + sc->tx.txq_map[WME_AC_VO]); if (len >= size) goto done; |