Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jul 2012 15:04:20 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r238365 - head/sys/dev/ath
Message-ID:  <201207111504.q6BF4KIM049814@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207111504.q6BF4KIM049814>