From patchwork Wed Nov 26 22:07:23 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 5388861 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 A3665C11AC for ; Wed, 26 Nov 2014 22:07:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E3B69201C0 for ; Wed, 26 Nov 2014 22:07:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 18B9C2011B for ; Wed, 26 Nov 2014 22:07:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750783AbaKZWHb (ORCPT ); Wed, 26 Nov 2014 17:07:31 -0500 Received: from mail-wg0-f54.google.com ([74.125.82.54]:38745 "EHLO mail-wg0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750770AbaKZWHa (ORCPT ); Wed, 26 Nov 2014 17:07:30 -0500 Received: by mail-wg0-f54.google.com with SMTP id l2so4931219wgh.13 for ; Wed, 26 Nov 2014 14:07:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:mime-version:content-type :content-transfer-encoding; bh=LWueC1OI5SD2CYSe0px2R4dbT5rF4Rj4D1hPbd+Bdi4=; b=Cwdw2D601XIETTk5LsTcuYR4AvaR82Y1dcdikaXoTgcd7frEXynOfkUwJR3GDdDg/3 NKneY4yGDVK9h7N6QH9XHiRJQ3pDqmccYjI0o3LYy8JeN6p9KfZy+Xo0Tc6Htf1JTe4X CjzIqywi7JhdpbGyU+qXlrTLKbyDofZW0OFH7gsAZVBRvqbfw++4ZGiYvbqrh6PX/nf8 SLLIUnbT8QOO/W1Ux6rE5CWaRJL/LBD5duMk1E+9zhl7fPOKSQukhCSTDh9TeD2d2SjI pI6HLYGzXyv0YboSzA8ry/XTnaKB1JEF6IVxnfAcrfzVhifDpZBsTOJVKpB0w+ZqDBWa p51Q== X-Received: by 10.180.90.165 with SMTP id bx5mr2978276wib.15.1417039649495; Wed, 26 Nov 2014 14:07:29 -0800 (PST) Received: from tango-charlie.Home ([90.208.178.234]) by mx.google.com with ESMTPSA id wa10sm8065980wjc.8.2014.11.26.14.07.28 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 26 Nov 2014 14:07:28 -0800 (PST) From: "Lad, Prabhakar" To: Tomi Valkeinen , Jean-Christophe Plagniol-Villard Cc: linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, "Lad, Prabhakar" Subject: [PATCH 1/3] video: fbdev: vt8623fb: suppress build warning Date: Wed, 26 Nov 2014 22:07:23 +0000 Message-Id: <1417039645-5313-1-git-send-email-prabhakar.csengg@gmail.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 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.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, 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 this patch fixes following build warning: drivers/video/fbdev/vt8623fb.c: In function ‘vt8623_pci_probe’: drivers/video/fbdev/vt8623fb.c:734:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] par->state.vgabase = (void __iomem *) vga_res.start; ^ Signed-off-by: Lad, Prabhakar --- drivers/video/fbdev/vt8623fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/vt8623fb.c b/drivers/video/fbdev/vt8623fb.c index 5c7cbc6..ea7f056 100644 --- a/drivers/video/fbdev/vt8623fb.c +++ b/drivers/video/fbdev/vt8623fb.c @@ -731,7 +731,7 @@ static int vt8623_pci_probe(struct pci_dev *dev, const struct pci_device_id *id) pcibios_bus_to_resource(dev->bus, &vga_res, &bus_reg); - par->state.vgabase = (void __iomem *) vga_res.start; + par->state.vgabase = (void __iomem *) (unsigned long) vga_res.start; /* Find how many physical memory there is on card */ memsize1 = (vga_rseq(par->state.vgabase, 0x34) + 1) >> 1;