From patchwork Wed Jul 24 05:31:40 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 2832549 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id A8207C0319 for ; Wed, 24 Jul 2013 05:31:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0770A20203 for ; Wed, 24 Jul 2013 05:31:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5808D20201 for ; Wed, 24 Jul 2013 05:31:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751012Ab3GXFby (ORCPT ); Wed, 24 Jul 2013 01:31:54 -0400 Received: from mail-ee0-f53.google.com ([74.125.83.53]:56617 "EHLO mail-ee0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750883Ab3GXFbx (ORCPT ); Wed, 24 Jul 2013 01:31:53 -0400 Received: by mail-ee0-f53.google.com with SMTP id e53so740417eek.26 for ; Tue, 23 Jul 2013 22:31:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer:content-type :x-gm-message-state; bh=aID9ryONybiDYqv8nkGCjroIQ3zDh0rCgVLKp1o/FXk=; b=ixtz3CD8S3LGdiblVq/qzIPznzWVdBMBpUQUDB0mBzYw7DU3eLCozUWTa+aKuTR1fs s2qtdehbni7lBu39tfV7Nu/0Ku0ZEn1/F1dGtvxvHCvwOgZhrbRcG4trGYzUI1Baru+Y oDJ3yVICn02u/yxudQOQP9a8b2Sx3QjzChKVAMMqXOUKS8H6K0Ycw2ztLibdAlMCyO8M tQeehEkh3QCzIay7sjA3AoadrFXIpZcfwkbzE10lIbZFfVgouTdWcKkS0OVHRV1UUeE9 st8aTWAWATsChv94ZzvhCMhyGu0EyPE0AFpsKFkf9nEztHWvRStLrhEKGQO9VH8bxN5Z vwlA== X-Received: by 10.14.206.196 with SMTP id l44mr35870025eeo.142.1374643912533; Tue, 23 Jul 2013 22:31:52 -0700 (PDT) Received: from localhost (nat-63.starnet.cz. [178.255.168.63]) by mx.google.com with ESMTPSA id i2sm63373518eeu.4.2013.07.23.22.31.51 for (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Tue, 23 Jul 2013 22:31:51 -0700 (PDT) From: Michal Simek To: Jean-Christophe Plagniol-Villard Cc: Michal Simek , Tomi Valkeinen , linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] video: xilinxfb: Fix compilation warning Date: Wed, 24 Jul 2013 07:31:40 +0200 Message-Id: X-Mailer: git-send-email 1.8.2.3 X-Gm-Message-State: ALoCoQn9juQHRE0UTwpBuZVHqe4osUPeQ71a0DIxGWPElnCYMI/j+4kGwESWHzKx4fciuh4upKqV Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Spam-Status: No, score=-6.2 required=5.0 tests=BAYES_00, MIME_HEADER_CTYPE_ONLY, MIME_NO_TEXT, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_TVD_MIME_EPI, T_TVD_MIME_NO_HEADERS, 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 regs_phys is phys_addr_t (u32 or u64). Lets retype it to u64. Fixes compilation warning introduced by: video: xilinxfb: Use drvdata->regs_phys instead of physaddr (sha1: c88fafef0135e1e1c3e23c3e32ccbeeabc587f81) Signed-off-by: Michal Simek --- ppc44x_defconfig Fixes regressions in v3.11-rc2 --- drivers/video/xilinxfb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 1.8.2.3 diff --git a/drivers/video/xilinxfb.c b/drivers/video/xilinxfb.c index f3d4a69..79175a6 100644 --- a/drivers/video/xilinxfb.c +++ b/drivers/video/xilinxfb.c @@ -341,8 +341,8 @@ static int xilinxfb_assign(struct platform_device *pdev, if (drvdata->flags & BUS_ACCESS_FLAG) { /* Put a banner in the log (for DEBUG) */ - dev_dbg(dev, "regs: phys=%x, virt=%p\n", drvdata->regs_phys, - drvdata->regs); + dev_dbg(dev, "regs: phys=%llx, virt=%p\n", + (unsigned long long)drvdata->regs_phys, drvdata->regs); } /* Put a banner in the log (for DEBUG) */ dev_dbg(dev, "fb: phys=%llx, virt=%p, size=%x\n",