* [PATCH] 2.5.69 drm/radeon_cp.c
@ 2003-05-05 3:49 Randy.Dunlap
2003-05-06 21:11 ` Michel Dänzer
0 siblings, 1 reply; 2+ messages in thread
From: Randy.Dunlap @ 2003-05-05 3:49 UTC (permalink / raw)
To: torvalds, linux-fbdev-devel; +Cc: lkml, ajoshi, gareth.hughes, faith, jsimmons
Hi,
This patch to 2.5.69 fixes this warning (gcc 3.2):
drivers/char/drm/radeon_cp.c: In function `radeon_cp_init_ring_buffer':
drivers/char/drm/radeon_cp.c:908: warning: unsigned int format, different type arg (arg 3)
drivers/char/drm/radeon_cp.c:908: warning: unsigned int format, different type arg (arg 3)
Is this obvious enough? Want it to go thru someone?
--
~Randy
patch_name: drm_radeon_dma.patch
patch_version: 2003-05-04.20:32:09
author: Randy.Dunlap <rddunlap@osdl.org>
description: fix printk of dma_addr_t
product: Linux
product_versions: linux-2569
changelog: print dma_addr_t as unsigned long
maintainer: dunno: Ani Joshi (ajoshi@shell.unixbox.com),
James Simmons (jsimmons@infradead.org),
Gareth Hughes (gareth.hughes@acm.org),
Rik Faith (faith@redhat.com)
diffstat: =
drivers/char/drm/radeon_cp.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -Naur ./drivers/char/drm/radeon_cp.c%VID ./drivers/char/drm/radeon_cp.c
--- ./drivers/char/drm/radeon_cp.c%VID 2003-05-04 16:53:06.000000000 -0700
+++ ./drivers/char/drm/radeon_cp.c 2003-05-04 20:30:30.000000000 -0700
@@ -903,8 +903,8 @@
RADEON_WRITE( RADEON_CP_RB_RPTR_ADDR,
entry->busaddr[page_ofs]);
- DRM_DEBUG( "ring rptr: offset=0x%08x handle=0x%08lx\n",
- entry->busaddr[page_ofs],
+ DRM_DEBUG( "ring rptr: offset=0x%08lx handle=0x%08lx\n",
+ (unsigned long) entry->busaddr[page_ofs],
entry->handle + tmp_ofs );
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] 2.5.69 drm/radeon_cp.c
2003-05-05 3:49 [PATCH] 2.5.69 drm/radeon_cp.c Randy.Dunlap
@ 2003-05-06 21:11 ` Michel Dänzer
0 siblings, 0 replies; 2+ messages in thread
From: Michel Dänzer @ 2003-05-06 21:11 UTC (permalink / raw)
To: Randy.Dunlap; +Cc: dri-devel, linux-fbdev-devel, lkml
On Mon, 2003-05-05 at 05:49, Randy.Dunlap wrote:
>
> This patch to 2.5.69 fixes this warning (gcc 3.2):
> drivers/char/drm/radeon_cp.c: In function `radeon_cp_init_ring_buffer':
> drivers/char/drm/radeon_cp.c:908: warning: unsigned int format, different type arg (arg 3)
> drivers/char/drm/radeon_cp.c:908: warning: unsigned int format, different type arg (arg 3)
>
>
> Is this obvious enough? Want it to go thru someone?
[...]
> maintainer: dunno: Ani Joshi (ajoshi@shell.unixbox.com),
> James Simmons (jsimmons@infradead.org),
> Gareth Hughes (gareth.hughes@acm.org),
> Rik Faith (faith@redhat.com)
Make that dri-devel@lists.sf.net .
> diff -Naur ./drivers/char/drm/radeon_cp.c%VID ./drivers/char/drm/radeon_cp.c
> --- ./drivers/char/drm/radeon_cp.c%VID 2003-05-04 16:53:06.000000000 -0700
> +++ ./drivers/char/drm/radeon_cp.c 2003-05-04 20:30:30.000000000 -0700
> @@ -903,8 +903,8 @@
>
> RADEON_WRITE( RADEON_CP_RB_RPTR_ADDR,
> entry->busaddr[page_ofs]);
> - DRM_DEBUG( "ring rptr: offset=0x%08x handle=0x%08lx\n",
> - entry->busaddr[page_ofs],
> + DRM_DEBUG( "ring rptr: offset=0x%08lx handle=0x%08lx\n",
> + (unsigned long) entry->busaddr[page_ofs],
> entry->handle + tmp_ofs );
> }
Looks good to me, just committed it to the DRI CVS trunk. Thanks.
--
Earthling Michel Dänzer \ Debian (powerpc), XFree86 and DRI developer
Software libre enthusiast \ http://svcs.affero.net/rm.php?r=daenzer
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-05-06 20:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-05 3:49 [PATCH] 2.5.69 drm/radeon_cp.c Randy.Dunlap
2003-05-06 21:11 ` Michel Dänzer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).