Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit db7889cd authored by Ben Greear's avatar Ben Greear Committed by John W. Linville
Browse files

ath9k: Fix txq memory address printing in debugfs.



No use printing addresses of pointers, just print the
pointers themselves.

Signed-off-by: default avatarBen Greear <greearb@candelatech.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 557d99a2
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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;