svn commit: r238365 - head/sys/dev/ath
John Baldwin
jhb at FreeBSD.org
Wed Jul 11 15:04:21 UTC 2012
Author: jhb
Date: Wed Jul 11 15:04:20 2012
New Revision: 238365
URL: http://svn.freebsd.org/changeset/base/238365
Log:
Cast a bus address to a uintmax_t for a debug printf to fix the build on
arm.
Modified:
head/sys/dev/ath/if_ath_rx_edma.c
Modified: head/sys/dev/ath/if_ath_rx_edma.c
==============================================================================
--- head/sys/dev/ath/if_ath_rx_edma.c Wed Jul 11 12:10:13 2012 (r238364)
+++ head/sys/dev/ath/if_ath_rx_edma.c Wed Jul 11 15:04:20 2012 (r238365)
@@ -191,11 +191,11 @@ ath_edma_reinit_fifo(struct ath_softc *s
for (j = 0; j < re->m_fifo_depth; j++) {
bf = re->m_fifo[i];
DPRINTF(sc, ATH_DEBUG_EDMA_RX,
- "%s: Q%d: pos=%i, addr=0x%x\n",
+ "%s: Q%d: pos=%i, addr=0x%jx\n",
__func__,
qtype,
i,
- bf->bf_daddr);
+ (uintmax_t)bf->bf_daddr);
ath_hal_putrxbuf(sc->sc_ah, bf->bf_daddr, qtype);
INCR(i, re->m_fifolen);
}
More information about the svn-src-head
mailing list