From patchwork Thu Jul 25 11:21:54 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 2833347 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 8252A9F4E2 for ; Thu, 25 Jul 2013 11:22:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4D582201CD for ; Thu, 25 Jul 2013 11:22:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4C857200ED for ; Thu, 25 Jul 2013 11:22:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755160Ab3GYLWD (ORCPT ); Thu, 25 Jul 2013 07:22:03 -0400 Received: from mail-ea0-f182.google.com ([209.85.215.182]:42267 "EHLO mail-ea0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754994Ab3GYLWC (ORCPT ); Thu, 25 Jul 2013 07:22:02 -0400 Received: by mail-ea0-f182.google.com with SMTP id o10so858670eaj.41 for ; Thu, 25 Jul 2013 04:22:00 -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=NaEZUgmdPw/pRbzigJp8wd1HPgvWsm2uyGQ4cqhXDzQ=; b=cZPboOF+pUrowaDAPVqDYLQiPxqEhOlff1LndD8amrRUzxGL1IqTbOgaZK2vVqzzph gQdOb3kjTMypYzl4MKBH2R2IjDPQL5lHw/QboCrPOjprafQCw56dnaa1jBfAbL3J5ESN nhutXyRHamXGvmCOs+xQhavUnENLv/JEfBxbRjQNkeKmTKFhpOXhelDHJyE/otnI6Ich I+iSTSvS0sockI14nlzYd1GUCnG9JAyv0pxiIOp5kOCqMiup9saQinrTEiZoYsFpOpH3 Pe1n41yza7oNHFcpeiNLiHk3ABA/XigGaFMIy93Sv/Vj8jl6jYmmqkVTwTlIMM9Qpbaj GCJQ== X-Received: by 10.14.178.134 with SMTP id f6mr41683105eem.91.1374751320463; Thu, 25 Jul 2013 04:22:00 -0700 (PDT) Received: from localhost (nat-63.starnet.cz. [178.255.168.63]) by mx.google.com with ESMTPSA id cg12sm72984586eeb.7.2013.07.25.04.21.59 for (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Thu, 25 Jul 2013 04:21:59 -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 v2] video: xilinxfb: Fix compilation warning Date: Thu, 25 Jul 2013 13:21:54 +0200 Message-Id: <204d93f8a9dffef6ff00d961f91be0b465f21841.1374751310.git.michal.simek@xilinx.com> X-Mailer: git-send-email 1.8.2.3 X-Gm-Message-State: ALoCoQm/djNiPWcciTYsiOptXtbXy/bT3Z2f5AYoVolMLG9rsliswJpdyG5Dk2m2kKsluaVGrfd/ 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 --- 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",