From patchwork Thu Sep 12 09:37:18 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 2877201 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@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 C1BC8BF43F for ; Thu, 12 Sep 2013 09:37:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 85038202EA for ; Thu, 12 Sep 2013 09:37:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5BA372021C for ; Thu, 12 Sep 2013 09:37:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753583Ab3ILJh2 (ORCPT ); Thu, 12 Sep 2013 05:37:28 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:38426 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753517Ab3ILJh1 (ORCPT ); Thu, 12 Sep 2013 05:37:27 -0400 Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MT000M22API9DT0@mailout4.samsung.com> for linux-pci@vger.kernel.org; Thu, 12 Sep 2013 18:37:19 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.47]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id 97.26.20109.F4B81325; Thu, 12 Sep 2013 18:37:19 +0900 (KST) X-AuditID: cbfee68f-b7f1e6d000004e8d-5c-52318b4fd2aa Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 61.11.09055.E4B81325; Thu, 12 Sep 2013 18:37:19 +0900 (KST) Received: from DOJG1HAN03 ([12.23.120.99]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MT000B34AQ67R90@mmp1.samsung.com>; Thu, 12 Sep 2013 18:37:18 +0900 (KST) From: Jingoo Han To: 'Bjorn Helgaas' Cc: linux-pci@vger.kernel.org, 'Thomas Petazzoni' , 'Jason Cooper' , 'Jingoo Han' References: <000201ceaf9b$098780b0$1c968210$%han@samsung.com> In-reply-to: <000201ceaf9b$098780b0$1c968210$%han@samsung.com> Subject: [PATCH 3/3] PCI: mvebu: add missing __iomem annotation Date: Thu, 12 Sep 2013 18:37:18 +0900 Message-id: <000501ceaf9b$acaec690$060c53b0$%han@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac6vmwlw4HfqNtHBQ7mmAo8MChTKZgAAIjOw Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrCIsWRmVeSWpSXmKPExsVy+t8zfV3/bsMgg80n2C2WNGVYNC65zGJx eeElVouz846zWTx90MTkwOrxZNNFRo8Fm0o9Gg6cZ/Ho27KK0ePzJrkA1igum5TUnMyy1CJ9 uwSujOV7TjIXbGKvWLPHpIFxHlsXIweHhICJxMH/VV2MnECmmMSFe+uBwlwcQgLLGCWmd+9h hUiYSGzZu4kVIrGIUeLsr61Qzi9GibXPr7KAVLEJqEl8+XKYHcQWEdCUmL1iCxOIzQwyatFL VxBbSMBW4sWXn2wgNqeAncSbB/1gvcIC9hKPZz5hBrFZBFQlFu58AbaZF6j++syf7BC2oMSP yfdYIGZqSazfeRxqvrzE5jVvmSG+UZd49FcX4gQjiakLNrJBlIhI7HvxjhHkZgmBa+wSd3q+ s0PsEpD4NvkQC0SvrMSmA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Wq0DhQTSE0tSs1NTC1KLYLYwcXBKNTCu+d76 wTzP7d6UpqjQxEshgbUvz2uIXovMujzvrPcHZ9sr0nOL2wPYr/7fy/zS4eCFfXeKPFsSfKeq 6S7/4cm6wWNr2bs9aW9Krwr+eDDjyH/pNgf7O4uMWc7L6C6x8ApMftMq/nSBRqnxZWtHDh8R E4FnAbOnJOnePhxl/dt8R5OgUtlBBTYlluKMREMt5qLiRACni6HzRQMAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 Added missing __iomem annotation in order to fix the following sparse warning: drivers/pci/host/pci-mvebu.c:744:31: warning: incorrect type in return expression (different address spaces) drivers/pci/host/pci-mvebu.c:744:31: expected void [noderef] * drivers/pci/host/pci-mvebu.c:744:31: got void * Signed-off-by: Jingoo Han --- drivers/pci/host/pci-mvebu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/host/pci-mvebu.c b/drivers/pci/host/pci-mvebu.c index b54ceb1..2d8e478 100644 --- a/drivers/pci/host/pci-mvebu.c +++ b/drivers/pci/host/pci-mvebu.c @@ -741,7 +741,7 @@ static void __iomem *mvebu_pcie_map_registers(struct platform_device *pdev, ret = of_address_to_resource(np, 0, ®s); if (ret) - return ERR_PTR(ret); + return (void __iomem *)ERR_PTR(ret); return devm_ioremap_resource(&pdev->dev, ®s); }