From patchwork Thu May 5 16:15:17 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Chris Wilson X-Patchwork-Id: 9025921 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id ED0AA9F1C1 for ; Thu, 5 May 2016 16:15:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0D2E3203AA for ; Thu, 5 May 2016 16:15:29 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 1C30B2038F for ; Thu, 5 May 2016 16:15:27 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A1EA76E9D8; Thu, 5 May 2016 16:15:26 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-wm0-x242.google.com (mail-wm0-x242.google.com [IPv6:2a00:1450:400c:c09::242]) by gabe.freedesktop.org (Postfix) with ESMTPS id C990C6E9D8 for ; Thu, 5 May 2016 16:15:24 +0000 (UTC) Received: by mail-wm0-x242.google.com with SMTP id r12so4249051wme.0 for ; Thu, 05 May 2016 09:15:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=LFtTmquybJwPcrZHBSZN6c3pzb0Xy3elxY7T/LgK564=; b=FARIRUkY8pQVQiKiTkPjYKyVtuuN68kxey72KnxtJRzccIOriRDxE/Omw5+3EEwrZt Dj9Cdv0iWFiCQIgYRT7skrq6Eg19iy3BzKGZH25uY0ioWiVxuwr3Igpj6A2olpZus4+r U3TLF8RR23QLzg16gD2tjuXIkrBo3VehqMEp2p1YLPYS+4WWgVttSsFQPe1WGI/f+nRY dmkjqUzY0GzE7/Z9Tjl2jTthHkzc6m5PvptsUz4+FGAdqREEp2SZJZcWTXN9nmQ+s5vt 8q9cLLZTyg6tyB093+W1yG9d13oA+Fr2SDoKVKPeyuRnw+3wLeiew6t09xlkM8AL0nb1 1sZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=LFtTmquybJwPcrZHBSZN6c3pzb0Xy3elxY7T/LgK564=; b=fJC0QaXcZ7Xb1zwPer5MvPhmA0V93+cIFbvvh+5bUGvRlrUkQ6JPh0KAWx5hWKNxYt Q9NVYxkDg7yr7BzFaWFRVRhne7aVQqSee33+rLBSmjVaRc3t2FRAeLBX5y6nvEiLCS/U IXEk5i+53Wa3B+qakd+mIbH4+ZRLynH1q2TPO8b0utiMBhaN3ppOgN5KYEe4tDfKi73m RJlCXTPJkeh3YWfKwD8rEcaNwfhX/T63K3dbSVIiQeu3otVUb9RrXZC1PfQyEgLaf3Is 4zIhIQBfK3NtqnxXh5zMcmhiaeNiUyPfS612GzlswYnk7sRjXZeAwuNSE6nXOf8+bSdl C5Bg== X-Gm-Message-State: AOPr4FVijjBj8KtUc0rCNJRiE/IJ3dgyZpuD5mhbdkoruVLrvmcjD4gxAsAvzZFaS8l+TQ== X-Received: by 10.194.171.194 with SMTP id aw2mr17242691wjc.113.1462464923178; Thu, 05 May 2016 09:15:23 -0700 (PDT) Received: from haswell.alporthouse.com ([78.156.65.138]) by smtp.gmail.com with ESMTPSA id ip10sm10468692wjb.33.2016.05.05.09.15.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 May 2016 09:15:22 -0700 (PDT) From: Chris Wilson To: intel-gfx@lists.freedesktop.org Date: Thu, 5 May 2016 17:15:17 +0100 Message-Id: <1462464917-10872-1-git-send-email-chris@chris-wilson.co.uk> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 Cc: Daniel Vetter , Ingo Molnar , "H. Peter Anvin" , Thomas Gleixner , Mika Kuoppala Subject: [Intel-gfx] [PATCH] x86: Silence 32bit compiler warning in intel_graphics_stolen() X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Spam-Status: No, score=-6.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP arch/x86/kernel/early-quirks.c: In function ‘intel_graphics_stolen’: arch/x86/kernel/early-quirks.c:539:9: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘phys_addr_t’ [-Wformat=] "0x%llx-0x%llx\n", base, base + size - 1); ^ arch/x86/kernel/early-quirks.c:539:9: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘phys_addr_t’ [-Wformat=] Fixes: ee0629cfd3c16 (drm/i915: Function per early graphics quirk) Signed-off-by: Chris Wilson Cc: Daniel Vetter Cc: Mika Kuoppala Cc: Ville Syrjälä Cc: Tvrtko Ursulin Cc: Joonas Lahtinen Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Reviewed-by: Ville Syrjälä --- arch/x86/kernel/early-quirks.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/early-quirks.c b/arch/x86/kernel/early-quirks.c index d2f75b4..068ab3f 100644 --- a/arch/x86/kernel/early-quirks.c +++ b/arch/x86/kernel/early-quirks.c @@ -535,8 +535,8 @@ intel_graphics_stolen(int num, int slot, int func, if (!size || !base) return; - printk(KERN_INFO "Reserving Intel graphics stolen memory at " - "0x%llx-0x%llx\n", base, base + size - 1); + printk(KERN_INFO "Reserving Intel graphics memory at 0x%llx-0x%llx\n", + (long long)base, (long long)(base + size - 1)); /* Mark this space as reserved */ e820_add_region(base, size, E820_RESERVED);