]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
ath9k: Fix txq memory address printing in debugfs.
authorBen Greear <greearb@candelatech.com>
Fri, 4 Mar 2011 00:25:59 +0000 (16:25 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 4 Mar 2011 19:06:49 +0000 (14:06 -0500)
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>
drivers/net/wireless/ath/ath9k/debug.c

index d404aa0ac76a6e316b452e474b3ab6a6e2e459d8..8df5a92a20f12e21606acdb01fbf561aaf0959b5 100644 (file)
@@ -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;