From patchwork Mon Sep 2 00:39:35 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Hutchings X-Patchwork-Id: 2852631 Return-Path: X-Original-To: patchwork-linux-media@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 3F50DC0AB5 for ; Mon, 2 Sep 2013 00:39:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A16C720264 for ; Mon, 2 Sep 2013 00:39:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0DD0E20258 for ; Mon, 2 Sep 2013 00:39:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757703Ab3IBAji (ORCPT ); Sun, 1 Sep 2013 20:39:38 -0400 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:60571 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757685Ab3IBAji (ORCPT ); Sun, 1 Sep 2013 20:39:38 -0400 Received: from deadeye.wl.decadent.org.uk ([192.168.4.101]) by shadbolt.decadent.org.uk with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1VGIB6-000535-Pb; Mon, 02 Sep 2013 01:39:36 +0100 Received: from ben by deadeye.wl.decadent.org.uk with local (Exim 4.80) (envelope-from ) id 1VGIB5-0005CO-MF; Mon, 02 Sep 2013 01:39:35 +0100 Message-ID: <1378082375.25743.61.camel@deadeye.wl.decadent.org.uk> Subject: [PATCH 2/4] [media] lirc_bt829: Fix physical address type From: Ben Hutchings To: Jarod Wilson , Mauro Carvalho Chehab Cc: linux-media@vger.kernel.org, devel@driverdev.osuosl.org Date: Mon, 02 Sep 2013 01:39:35 +0100 In-Reply-To: <1378082213.25743.58.camel@deadeye.wl.decadent.org.uk> References: <1378082213.25743.58.camel@deadeye.wl.decadent.org.uk> X-Mailer: Evolution 3.4.4-3 Mime-Version: 1.0 X-SA-Exim-Connect-IP: 192.168.4.101 X-SA-Exim-Mail-From: ben@decadent.org.uk X-SA-Exim-Scanned: No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-9.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_TVD_MIME_EPI, 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 Signed-off-by: Ben Hutchings --- drivers/staging/media/lirc/lirc_bt829.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/media/lirc/lirc_bt829.c b/drivers/staging/media/lirc/lirc_bt829.c index c277bf3..8c5ba2a 100644 --- a/drivers/staging/media/lirc/lirc_bt829.c +++ b/drivers/staging/media/lirc/lirc_bt829.c @@ -99,7 +99,7 @@ static int atir_pci_probe(struct pci_dev *pdev, const struct pci_device_id *entry) { struct atir_device *atir; - unsigned long pci_addr_phys; + phys_addr_t pci_addr_phys; int rc; atir = kzalloc(sizeof(*atir), GFP_KERNEL); @@ -115,8 +115,8 @@ static int atir_pci_probe(struct pci_dev *pdev, } pci_addr_phys = pdev->resource[0].start; - dev_info(&pdev->dev, "memory at 0x%08X\n", - (unsigned int)pci_addr_phys); + dev_info(&pdev->dev, "memory at 0x%08llX\n", + (unsigned long long)pci_addr_phys); atir->pci_addr_lin = ioremap(pci_addr_phys + DATA_PCI_OFF, 0x400); if (atir->pci_addr_lin == 0) {