From: John Kacur Subject: [PATCH] =?utf-8?q?radeon=5Fagp:=20Fix=20warning, =20format=20=E2=80=98%d=E2=80=99=20expects=20type=20=E2=80=98int=E2=80=99, =20but=20argument=204=20has=20type=20=E2=80=98size=5Ft=E2=80=99?= Date: Sat, 30 Jan 2010 21:51:09 +0100 Message-ID: <1264884670-28211-2-git-send-email-jkacur@redhat.com> References: <1264884670-28211-1-git-send-email-jkacur@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1264884670-28211-1-git-send-email-jkacur@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.sourceforge.net To: linux-kernel Cc: Dave Airlie , FUJITA Tomonori , John Kacur , Jerome Glisse , Johannes Hirte , dri-devel , Alex Deucher , Kevin Winchester , Linus Torvalds , Ingo Molnar List-Id: dri-devel@lists.freedesktop.org Fix warning by using %zu instead of %d for size_t Signed-off-by: John Kacur --- drivers/gpu/drm/radeon/radeon_agp.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_agp.c b/drivers/gpu/drm/radeon/radeon_agp.c index c9ad7f5..1c4e523 100644 --- a/drivers/gpu/drm/radeon/radeon_agp.c +++ b/drivers/gpu/drm/radeon/radeon_agp.c @@ -134,7 +134,7 @@ int radeon_agp_init(struct radeon_device *rdev) int ret; if (rdev->ddev->agp->agp_info.aper_size < 32) { - dev_warn(rdev->dev, "AGP aperture to small (%dM) " + dev_warn(rdev->dev, "AGP aperture to small (%zuM) " "need at least 32M, disabling AGP\n", rdev->ddev->agp->agp_info.aper_size); return -EINVAL; -- 1.6.0.6 ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com --