From patchwork Thu Jul 25 13:45:26 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 2833428 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 306F59F4E2 for ; Thu, 25 Jul 2013 13:45:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 381A020272 for ; Thu, 25 Jul 2013 13:45:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4555B2026F for ; Thu, 25 Jul 2013 13:45:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755921Ab3GYNpf (ORCPT ); Thu, 25 Jul 2013 09:45:35 -0400 Received: from mail-ea0-f170.google.com ([209.85.215.170]:44259 "EHLO mail-ea0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755576Ab3GYNpe (ORCPT ); Thu, 25 Jul 2013 09:45:34 -0400 Received: by mail-ea0-f170.google.com with SMTP id h10so950777eaj.29 for ; Thu, 25 Jul 2013 06:45:33 -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=JKb+PH5mzyLik1kwvhq3zdE1kGcf4QhCFqTYAvI1YBA=; b=BVOd8FNHUrndBK1BurlqN86uyJKaiag7emgeCOzMUM7WXCPHUQtdstJsgtFug5PvBe 3arQ4Fq7iykP743uQzSMm/NqNyGANAncdhh7hzaRaz4bq+ce/ANhJTx26lWGETsulKP6 IKUWUkK9UyN7Jc5m15C2XSaX2TGOlOhsTFoEBBYjzIy5kt09Q7frPxZ3wqVFmHM9FOQM rdGE/rPaY55PgiiJf+IJKnFa+eR/n6litnAWcvIF26Mlu0zS4FwWe2yCuUcuJN0gNeSR FyWywZDoTYDbiuV6J/NWgNjBYQxqZMDEQyz3SWeHsx6vzJz7saYQngQhORerrLBocy4a CZeQ== X-Received: by 10.15.24.129 with SMTP id j1mr43070794eeu.17.1374759933446; Thu, 25 Jul 2013 06:45:33 -0700 (PDT) Received: from localhost (nat-63.starnet.cz. [178.255.168.63]) by mx.google.com with ESMTPSA id b3sm73792424eev.10.2013.07.25.06.45.32 for (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Thu, 25 Jul 2013 06:45:32 -0700 (PDT) From: Michal Simek To: Jean-Christophe Plagniol-Villard , Jingoo Han , Geert Uytterhoeven Cc: Michal Simek , Tomi Valkeinen , linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3] video: xilinxfb: Fix compilation warning Date: Thu, 25 Jul 2013 15:45:26 +0200 Message-Id: X-Mailer: git-send-email 1.8.2.3 X-Gm-Message-State: ALoCoQkE5STJgHiX0xx8yaEXn8h8W1VRhEGiBikeZpDa7994hfwmL0aZC9KFD6MpPX1ZoUN8k3Da 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 use %pa printk format specifier. Fixes compilation warning introduced by: video: xilinxfb: Use drvdata->regs_phys instead of physaddr (sha1: c88fafef0135e1e1c3e23c3e32ccbeeabc587f81) Signed-off-by: Michal Simek Reviewed-by: Jingoo Han --- Changes in v3: - Fix commit message reported by Geert Changes in v2: - Use %pa instead of casting 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..6629b29 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=%pa, virt=%p\n", + &drvdata->regs_phys, drvdata->regs); } /* Put a banner in the log (for DEBUG) */ dev_dbg(dev, "fb: phys=%llx, virt=%p, size=%x\n",