Date: Sat, 19 Feb 2005 21:42:18 GMT From: Eric Anholt <anholt@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 71344 for review Message-ID: <200502192142.j1JLgIE1065187@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=71344 Change 71344 by anholt@anholt_leguin on 2005/02/19 21:42:16 Warnings fixes to get the build going. Needs to be merged upstream. Affected files ... .. //depot/projects/drm-merge/sys/dev/drm/mach64_dma.c#3 edit Differences ... ==== //depot/projects/drm-merge/sys/dev/drm/mach64_dma.c#3 (text+ko) ==== @@ -497,7 +497,8 @@ (i >= ring->head - MACH64_DUMP_CONTEXT * 4 && i <= ring->head + MACH64_DUMP_CONTEXT * 4)) { DRM_INFO(" 0x%08x: 0x%08x 0x%08x 0x%08x 0x%08x%s%s\n", - ring->start_addr + i * sizeof(u32), + (unsigned int)(ring->start_addr + + i * sizeof(u32)), le32_to_cpu(((u32 *) ring->start)[i + 0]), le32_to_cpu(((u32 *) ring->start)[i + 1]), le32_to_cpu(((u32 *) ring->start)[i + 2]), @@ -913,8 +914,8 @@ } memset(dev_priv->ring.start, 0, dev_priv->ring.size); - DRM_INFO("descriptor ring: cpu addr 0x%08x, bus addr: 0x%08x\n", - (u32) dev_priv->ring.start, dev_priv->ring.start_addr); + DRM_INFO("descriptor ring: cpu addr %p, bus addr: 0x%08x\n", + dev_priv->ring.start, dev_priv->ring.start_addr); ret = 0; if (dev_priv->driver_mode != MACH64_MODE_MMIO) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502192142.j1JLgIE1065187>