Date: Mon, 3 May 2010 08:57:49 +0000 (UTC) From: Juli Mallett <jmallett@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r207556 - in user/jmallett/octeon/sys/dev/ath/ath_hal: ar5210 ar5211 ar5212 ar5312 ar5416 Message-ID: <201005030857.o438vnsW029762@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jmallett Date: Mon May 3 08:57:48 2010 New Revision: 207556 URL: http://svn.freebsd.org/changeset/base/207556 Log: Print bus handles with uintmax_t casts and %#jx not pointer casts and %p. Modified: user/jmallett/octeon/sys/dev/ath/ath_hal/ar5210/ar5210_attach.c user/jmallett/octeon/sys/dev/ath/ath_hal/ar5211/ar5211_attach.c user/jmallett/octeon/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c user/jmallett/octeon/sys/dev/ath/ath_hal/ar5312/ar5312_attach.c user/jmallett/octeon/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c user/jmallett/octeon/sys/dev/ath/ath_hal/ar5416/ar9160_attach.c user/jmallett/octeon/sys/dev/ath/ath_hal/ar5416/ar9280_attach.c user/jmallett/octeon/sys/dev/ath/ath_hal/ar5416/ar9285_attach.c Modified: user/jmallett/octeon/sys/dev/ath/ath_hal/ar5210/ar5210_attach.c ============================================================================== --- user/jmallett/octeon/sys/dev/ath/ath_hal/ar5210/ar5210_attach.c Mon May 3 07:39:51 2010 (r207555) +++ user/jmallett/octeon/sys/dev/ath/ath_hal/ar5210/ar5210_attach.c Mon May 3 08:57:48 2010 (r207556) @@ -180,8 +180,8 @@ ar5210Attach(uint16_t devid, HAL_SOFTC s int i; HALDEBUG(AH_NULL, HAL_DEBUG_ATTACH, - "%s: devid 0x%x sc %p st %p sh %p\n", __func__, devid, - sc, (void*) st, (void*) sh); + "%s: devid 0x%x sc %p st %p sh %#jx\n", __func__, devid, + sc, (void*) st, (uintmax_t) sh); /* NB: memory is returned zero'd */ ahp = ath_hal_malloc(sizeof (struct ath_hal_5210)); Modified: user/jmallett/octeon/sys/dev/ath/ath_hal/ar5211/ar5211_attach.c ============================================================================== --- user/jmallett/octeon/sys/dev/ath/ath_hal/ar5211/ar5211_attach.c Mon May 3 07:39:51 2010 (r207555) +++ user/jmallett/octeon/sys/dev/ath/ath_hal/ar5211/ar5211_attach.c Mon May 3 08:57:48 2010 (r207556) @@ -197,8 +197,8 @@ ar5211Attach(uint16_t devid, HAL_SOFTC s uint16_t eeval; HAL_STATUS ecode; - HALDEBUG(AH_NULL, HAL_DEBUG_ATTACH, "%s: sc %p st %p sh %p\n", - __func__, sc, (void*) st, (void*) sh); + HALDEBUG(AH_NULL, HAL_DEBUG_ATTACH, "%s: sc %p st %p sh %#jx\n", + __func__, sc, (void*) st, (uintmax_t) sh); /* NB: memory is returned zero'd */ ahp = ath_hal_malloc(sizeof (struct ath_hal_5211)); Modified: user/jmallett/octeon/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c ============================================================================== --- user/jmallett/octeon/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c Mon May 3 07:39:51 2010 (r207555) +++ user/jmallett/octeon/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c Mon May 3 08:57:48 2010 (r207556) @@ -305,8 +305,8 @@ ar5212Attach(uint16_t devid, HAL_SOFTC s uint16_t eeval; HAL_STATUS ecode; - HALDEBUG(AH_NULL, HAL_DEBUG_ATTACH, "%s: sc %p st %p sh %p\n", - __func__, sc, (void*) st, (void*) sh); + HALDEBUG(AH_NULL, HAL_DEBUG_ATTACH, "%s: sc %p st %p sh %#jx\n", + __func__, sc, (void*) st, (uintmax_t) sh); /* NB: memory is returned zero'd */ ahp = ath_hal_malloc(sizeof (struct ath_hal_5212)); Modified: user/jmallett/octeon/sys/dev/ath/ath_hal/ar5312/ar5312_attach.c ============================================================================== --- user/jmallett/octeon/sys/dev/ath/ath_hal/ar5312/ar5312_attach.c Mon May 3 07:39:51 2010 (r207555) +++ user/jmallett/octeon/sys/dev/ath/ath_hal/ar5312/ar5312_attach.c Mon May 3 08:57:48 2010 (r207556) @@ -70,8 +70,8 @@ ar5312Attach(uint16_t devid, HAL_SOFTC s uint16_t eeval; HAL_STATUS ecode; - HALDEBUG(AH_NULL, HAL_DEBUG_ATTACH, "%s: sc %p st %p sh %p\n", - __func__, sc, st, (void*) sh); + HALDEBUG(AH_NULL, HAL_DEBUG_ATTACH, "%s: sc %p st %p sh %#jx\n", + __func__, sc, st, (uintmax_t) sh); /* NB: memory is returned zero'd */ ahp = ath_hal_malloc(sizeof (struct ath_hal_5212)); Modified: user/jmallett/octeon/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c ============================================================================== --- user/jmallett/octeon/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c Mon May 3 07:39:51 2010 (r207555) +++ user/jmallett/octeon/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c Mon May 3 08:57:48 2010 (r207556) @@ -198,8 +198,8 @@ ar5416Attach(uint16_t devid, HAL_SOFTC s HAL_STATUS ecode; HAL_BOOL rfStatus; - HALDEBUG(AH_NULL, HAL_DEBUG_ATTACH, "%s: sc %p st %p sh %p\n", - __func__, sc, (void*) st, (void*) sh); + HALDEBUG(AH_NULL, HAL_DEBUG_ATTACH, "%s: sc %p st %p sh %#jx\n", + __func__, sc, (void*) st, (uintmax_t) sh); /* NB: memory is returned zero'd */ ahp5416 = ath_hal_malloc(sizeof (struct ath_hal_5416) + Modified: user/jmallett/octeon/sys/dev/ath/ath_hal/ar5416/ar9160_attach.c ============================================================================== --- user/jmallett/octeon/sys/dev/ath/ath_hal/ar5416/ar9160_attach.c Mon May 3 07:39:51 2010 (r207555) +++ user/jmallett/octeon/sys/dev/ath/ath_hal/ar5416/ar9160_attach.c Mon May 3 08:57:48 2010 (r207556) @@ -98,8 +98,8 @@ ar9160Attach(uint16_t devid, HAL_SOFTC s HAL_STATUS ecode; HAL_BOOL rfStatus; - HALDEBUG(AH_NULL, HAL_DEBUG_ATTACH, "%s: sc %p st %p sh %p\n", - __func__, sc, (void*) st, (void*) sh); + HALDEBUG(AH_NULL, HAL_DEBUG_ATTACH, "%s: sc %p st %p sh %#jx\n", + __func__, sc, (void*) st, (uintmax_t) sh); /* NB: memory is returned zero'd */ ahp5416 = ath_hal_malloc(sizeof (struct ath_hal_5416)); Modified: user/jmallett/octeon/sys/dev/ath/ath_hal/ar5416/ar9280_attach.c ============================================================================== --- user/jmallett/octeon/sys/dev/ath/ath_hal/ar5416/ar9280_attach.c Mon May 3 07:39:51 2010 (r207555) +++ user/jmallett/octeon/sys/dev/ath/ath_hal/ar5416/ar9280_attach.c Mon May 3 08:57:48 2010 (r207556) @@ -86,8 +86,8 @@ ar9280Attach(uint16_t devid, HAL_SOFTC s HAL_STATUS ecode; HAL_BOOL rfStatus; - HALDEBUG(AH_NULL, HAL_DEBUG_ATTACH, "%s: sc %p st %p sh %p\n", - __func__, sc, (void*) st, (void*) sh); + HALDEBUG(AH_NULL, HAL_DEBUG_ATTACH, "%s: sc %p st %p sh %#jx\n", + __func__, sc, (void*) st, (uintmax_t) sh); /* NB: memory is returned zero'd */ ahp9280 = ath_hal_malloc(sizeof (struct ath_hal_9280)); Modified: user/jmallett/octeon/sys/dev/ath/ath_hal/ar5416/ar9285_attach.c ============================================================================== --- user/jmallett/octeon/sys/dev/ath/ath_hal/ar5416/ar9285_attach.c Mon May 3 07:39:51 2010 (r207555) +++ user/jmallett/octeon/sys/dev/ath/ath_hal/ar5416/ar9285_attach.c Mon May 3 08:57:48 2010 (r207556) @@ -88,8 +88,8 @@ ar9285Attach(uint16_t devid, HAL_SOFTC s HAL_STATUS ecode; HAL_BOOL rfStatus; - HALDEBUG(AH_NULL, HAL_DEBUG_ATTACH, "%s: sc %p st %p sh %p\n", - __func__, sc, (void*) st, (void*) sh); + HALDEBUG(AH_NULL, HAL_DEBUG_ATTACH, "%s: sc %p st %p sh %#jx\n", + __func__, sc, (void*) st, (uintmax_t) sh); /* NB: memory is returned zero'd */ ahp9285 = ath_hal_malloc(sizeof (struct ath_hal_9285));
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005030857.o438vnsW029762>