From patchwork Wed Nov 12 03:27:04 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 5283541 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@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 1A71B9F2ED for ; Wed, 12 Nov 2014 03:26:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5CD1C2013D for ; Wed, 12 Nov 2014 03:26:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8C76E200BE for ; Wed, 12 Nov 2014 03:26:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752196AbaKLD00 (ORCPT ); Tue, 11 Nov 2014 22:26:26 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:18570 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752185AbaKLD0Y (ORCPT ); Tue, 11 Nov 2014 22:26:24 -0500 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NEW00M5LPJY26E0@mailout1.samsung.com> for linux-pci@vger.kernel.org; Wed, 12 Nov 2014 12:26:22 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.48]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id 5D.42.19034.C53D2645; Wed, 12 Nov 2014 12:26:20 +0900 (KST) X-AuditID: cbfee691-f79b86d000004a5a-00-5462d35cca18 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id DC.36.09430.C53D2645; Wed, 12 Nov 2014 12:26:20 +0900 (KST) Received: from DOJG1HAN03 ([10.89.38.123]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NEW0037APJWYJ21@mmp2.samsung.com>; Wed, 12 Nov 2014 12:26:20 +0900 (KST) From: Jingoo Han To: 'Bjorn Helgaas' Cc: linux-pci@vger.kernel.org, 'Mohit Kumar' , 'Jingoo Han' Subject: [PATCH] PCI: designware: Add a blank line after declarations Date: Wed, 12 Nov 2014 12:27:04 +0900 Message-id: <002a01cffe28$87fb3d10$97f1b730$%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: Ac/+KIfobL/35dieS+Ohvs32zNg4iA== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprDIsWRmVeSWpSXmKPExsVy+t8zA92Yy0khBhuOSlgsacqweHlI0+Ly wkusFmfnHWez2Dj1F6MDq8eCTaUefVtWMXo8/bGX2ePzJrkAligum5TUnMyy1CJ9uwSujNOL rQqWsVWsXTKVpYFxDmsXIyeHhICJxNS7T9ghbDGJC/fWs3UxcnEICSxjlPjy8wsjTNHFO42s EInpjBIrfnSyQzi/GCW+ndkJVsUmoCbx5cthsFEiApoSs1dsYQKxmQXSJf49WsYGYgsLuErM mbUSzGYRUJVY9ece2Bm8ArYS7zZ/YoSwBSV+TL7HAtGrJbF+53GoOfISm9e8Ze5i5AC6SF3i 0V9diFV6Ele/32ODKBGR2PfiHSPIbRICm9gl9k3sYoXYJSDxbfIhFoheWYlNB5ghHpOUOLji BssERrFZSDbPQrJ5FpLNs5CsWMDIsopRNLUguaA4Kb3IVK84Mbe4NC9dLzk/dxMjJNIm7mC8 f8D6EKMAB6MSD2/G5qQQIdbEsuLK3EOMpkAXTWSWEk3OB8Z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DY1d EtN1vy7Y9T/ywktfiyWJBdn7AzMVXyvdkp97Nix6De/yHSVnVb79dn7Ptjdz3sX+6i9KLMUZ iYZazEXFiQB+AR8I+QIAAA== 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.4 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 This patch fixes the following checkpatch warning. WARNING: Missing a blank line after declarations Signed-off-by: Jingoo Han --- drivers/pci/host/pcie-designware.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/host/pcie-designware.c b/drivers/pci/host/pcie-designware.c index dfed00a..f9be371 100644 --- a/drivers/pci/host/pcie-designware.c +++ b/drivers/pci/host/pcie-designware.c @@ -380,6 +380,7 @@ int __init dw_pcie_host_init(struct pcie_port *pp) /* Get the I/O and memory ranges from DT */ for_each_of_pci_range(&parser, &range) { unsigned long restype = range.flags & IORESOURCE_TYPE_BITS; + if (restype == IORESOURCE_IO) { of_pci_range_to_resource(&range, np, &pp->io); pp->io.name = "I/O";