From patchwork Thu Oct 4 13:14:22 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Deucher X-Patchwork-Id: 1546551 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork1.kernel.org (Postfix) with ESMTP id 5A8B940D7F for ; Thu, 4 Oct 2012 13:15:32 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1C9A1A0F48 for ; Thu, 4 Oct 2012 06:15:32 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qc0-f177.google.com (mail-qc0-f177.google.com [209.85.216.177]) by gabe.freedesktop.org (Postfix) with ESMTP id CC0459F31A for ; Thu, 4 Oct 2012 06:14:31 -0700 (PDT) Received: by mail-qc0-f177.google.com with SMTP id u28so368719qcs.36 for ; Thu, 04 Oct 2012 06:14:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=v2dmPiDDiBbeIfIsaByBU8rHLi2fqvGL0nGa65lOTcU=; b=xYDHUyeo94CnceO1DHQ8URBVIg75P3zm5qiVl5/8OQE+CFRDEjwlt56fqBSnYgSyNc MFbl7gMrpLarajmXN4VWeMrpbp4S9GZVhwgiIQvVI2BT5M6Ls/evbyNdLnJGtNYRgSTD q+sS0njezUOelKgQKRgm9kheNdNxUGJzUn3xRnTzia6US6rQeIe+zVyeCypJQl89UShe xQYh9s0qU74LVthKZLhgLKA3S6fVjvwpXQAdhLRZBG7AH+hgeKLXdsejN/SZa54BAsSM EVgeVntvsyDY7V7dRmU6I62meIw7VvBqkHI8od6T3NTGmp4suznW9Aa0U/HGSB26NBi1 +rvw== Received: by 10.49.1.43 with SMTP id 11mr18946558qej.41.1349356471248; Thu, 04 Oct 2012 06:14:31 -0700 (PDT) Received: from localhost.localdomain (static-74-96-105-49.washdc.fios.verizon.net. [74.96.105.49]) by mx.google.com with ESMTPS id bx11sm7209943qab.0.2012.10.04.06.14.29 (version=SSLv3 cipher=OTHER); Thu, 04 Oct 2012 06:14:30 -0700 (PDT) From: alexdeucher@gmail.com To: airlied@gmail.com, dri-devel@lists.freedesktop.org Subject: [PATCH 1/2] drm/radeon: use %zu for formatting size_t Date: Thu, 4 Oct 2012 09:14:22 -0400 Message-Id: <1349356463-19509-1-git-send-email-alexdeucher@gmail.com> X-Mailer: git-send-email 1.7.7.5 Cc: Alex Deucher X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org From: Luca Tettamanti Fixes compiler warnings on 32bit. Signed-off-by: Luca Tettamanti Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_acpi.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_acpi.c b/drivers/gpu/drm/radeon/radeon_acpi.c index c3976eb..faf1ed5 100644 --- a/drivers/gpu/drm/radeon/radeon_acpi.c +++ b/drivers/gpu/drm/radeon/radeon_acpi.c @@ -203,7 +203,7 @@ static int radeon_atif_verify_interface(acpi_handle handle, size = *(u16 *) info->buffer.pointer; if (size < 12) { - DRM_INFO("ATIF buffer is too small: %lu\n", size); + DRM_INFO("ATIF buffer is too small: %zu\n", size); err = -EINVAL; goto out; } @@ -487,7 +487,7 @@ static int radeon_atcs_verify_interface(acpi_handle handle, size = *(u16 *) info->buffer.pointer; if (size < 8) { - DRM_INFO("ATCS buffer is too small: %lu\n", size); + DRM_INFO("ATCS buffer is too small: %zu\n", size); err = -EINVAL; goto out; }