linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Randy.Dunlap" <randy.dunlap@verizon.net>
To: torvalds@transmeta.com, linux-fbdev-devel@lists.sourceforge.net
Cc: lkml <linux-kernel@vger.kernel.org>,
	ajoshi@shell.unixbox.com, gareth.hughes@acm.org,
	faith@redhat.com, jsimmons@infradead.org
Subject: [PATCH] 2.5.69 drm/radeon_cp.c
Date: Sun, 4 May 2003 20:49:01 -0700	[thread overview]
Message-ID: <20030504204901.20761942.randy.dunlap@verizon.net> (raw)

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 );
 	}
 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

             reply	other threads:[~2003-05-05  3:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-05  3:49 Randy.Dunlap [this message]
2003-05-06 21:11 ` [PATCH] 2.5.69 drm/radeon_cp.c Michel Dänzer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030504204901.20761942.randy.dunlap@verizon.net \
    --to=randy.dunlap@verizon.net \
    --cc=ajoshi@shell.unixbox.com \
    --cc=faith@redhat.com \
    --cc=gareth.hughes@acm.org \
    --cc=jsimmons@infradead.org \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).