From patchwork Wed Nov 26 22:07:25 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 5388911 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 CB6D49F319 for ; Wed, 26 Nov 2014 22:08:03 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0534E201C0 for ; Wed, 26 Nov 2014 22:08:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1AD232011B for ; Wed, 26 Nov 2014 22:08:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752898AbaKZWHf (ORCPT ); Wed, 26 Nov 2014 17:07:35 -0500 Received: from mail-wi0-f175.google.com ([209.85.212.175]:48865 "EHLO mail-wi0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750770AbaKZWHd (ORCPT ); Wed, 26 Nov 2014 17:07:33 -0500 Received: by mail-wi0-f175.google.com with SMTP id l15so13962847wiw.14 for ; Wed, 26 Nov 2014 14:07:32 -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:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=1Xqbcgolhr/eaumdOMuSmHc/Imp6pKdHYba1/vf0XjU=; b=wUoNv+U6iuvYlbsYAdWmLgXL7qxDeCMBl8nssP+GG028++dm48GjUXut+lt8A/XM8o +Ym/GV68KTkRlDujahnS3vxRMIaUgyim2phjHzZpt2IobbfssP8IuIoYsbg9Ls+S5w7c MYDiUI+PpsnQUOvJrC+x/InYqJQGOzsuzEnhWdgdqP+gJmO8L5u8iHvitMEKJBUZD79f TNXAU54xd3s2T91LXJJYCo8UHikcUdShn1VUN0cT+/PUAyDlLLXnsvhkpH3fIBlw0k/W dr5Gfbfe9avvQTGjxehcVuessW6nK+UOaHcazuC/Km2VKUqAWjmG4FgjCVSDIszSaL6O lYsQ== X-Received: by 10.194.83.8 with SMTP id m8mr53307634wjy.58.1417039652577; Wed, 26 Nov 2014 14:07:32 -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.31 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 26 Nov 2014 14:07:31 -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 3/3] video: fbdev: arkfb: suppress build warning Date: Wed, 26 Nov 2014 22:07:25 +0000 Message-Id: <1417039645-5313-3-git-send-email-prabhakar.csengg@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1417039645-5313-1-git-send-email-prabhakar.csengg@gmail.com> References: <1417039645-5313-1-git-send-email-prabhakar.csengg@gmail.com> 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/arkfb.c: In function ‘ark_pci_probe’: drivers/video/fbdev/arkfb.c:1019: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/arkfb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/arkfb.c b/drivers/video/fbdev/arkfb.c index adc4ea2..b305a1e 100644 --- a/drivers/video/fbdev/arkfb.c +++ b/drivers/video/fbdev/arkfb.c @@ -1016,7 +1016,7 @@ static int ark_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; /* FIXME get memsize */ regval = vga_rseq(par->state.vgabase, 0x10);