From patchwork Wed Nov 12 03:27:54 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 5283571 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 45815C11AC for ; Wed, 12 Nov 2014 03:27:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7B34320155 for ; Wed, 12 Nov 2014 03:27:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 431FF2015A for ; Wed, 12 Nov 2014 03:27:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755091AbaKLD1N (ORCPT ); Tue, 11 Nov 2014 22:27:13 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:18719 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755072AbaKLD1L (ORCPT ); Tue, 11 Nov 2014 22:27:11 -0500 Received: from epcpsbgr4.samsung.com (u144.gpu120.samsung.co.kr [203.254.230.144]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NEW00M7ZPLA26E0@mailout1.samsung.com> for linux-pci@vger.kernel.org; Wed, 12 Nov 2014 12:27:10 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.49]) by epcpsbgr4.samsung.com (EPCPMTA) with SMTP id 5A.1D.18167.E83D2645; Wed, 12 Nov 2014 12:27:10 +0900 (KST) X-AuditID: cbfee690-f79ab6d0000046f7-52-5462d38edb1e Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 0F.3F.20081.D83D2645; Wed, 12 Nov 2014 12:27:09 +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 <0NEW0014IPL9GN51@mmp2.samsung.com>; Wed, 12 Nov 2014 12:27:09 +0900 (KST) From: Jingoo Han To: 'Bjorn Helgaas' Cc: linux-pci@vger.kernel.org, 'Jingoo Han' , 'Thomas Petazzoni' , 'Jason Cooper' Subject: [PATCH] PCI: mvebu: Add a blank line after declarations Date: Wed, 12 Nov 2014 12:27:54 +0900 Message-id: <002b01cffe28$a57021d0$f0506570$%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/+KKVgrH/VU8KCTNmkWLIdTXCEVg== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrIIsWRmVeSWpSXmKPExsVy+t8zQ92+y0khBhN2ilksacqwaFxymcXi 8sJLrBZn5x1ns3j6oInJgdXjyaaLjB4LNpV6NBw4z+LRt2UVo8fnTXIBrFFcNimpOZllqUX6 dglcGfsuPWUrOM5ZcXQtXwPjbfYuRg4OCQETiUUzZLsYOYFMMYkL99azdTFycQgJLGOUWHHi GztEwkSie8dadojEdEaJ7lknwRJCAr8YJdreZIPYbAJqEl++HAaLiwhoSsxesYUJpIEZZNKW s70sIAlhAQeJ2QfugxWxCKhKXN3xngnE5hWwlbj6r5MNwhaU+DH5Hlg9s4CWxPqdx5kgbHmJ zWveMkNcrS7x6K8uxC49ick3+lkhSkQk9r14xwiyV0JgH7vE2jsTmCF2CUh8m3yIBaJXVmLT AWaIxyQlDq64wTKBUWwWks2zkGyehWTzLCQrFjCyrGIUTS1ILihOSi8y0StOzC0uzUvXS87P 3cQIibkJOxjvHbA+xCjAwajEw5uwJilEiDWxrLgy9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JBIM2+RW8c3pSC2JFJjz+5nj8KcZS5n XXsg1ROl9F37kp/1vSeyfodT8lsf+gjLf10vd7RtYxPzf4+bmlPDP/MkvtyuuMpLN3/Gs5ep N5mviyixFGckGmoxFxUnAgChgafW/wIAAA== 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 Acked-by: Jason Cooper --- drivers/pci/host/pci-mvebu.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/pci/host/pci-mvebu.c b/drivers/pci/host/pci-mvebu.c index b1315e1..0c775afa 100644 --- a/drivers/pci/host/pci-mvebu.c +++ b/drivers/pci/host/pci-mvebu.c @@ -622,6 +622,7 @@ static struct mvebu_pcie_port *mvebu_pcie_find_port(struct mvebu_pcie *pcie, for (i = 0; i < pcie->nports; i++) { struct mvebu_pcie_port *port = &pcie->ports[i]; + if (bus->number == 0 && port->devfn == devfn) return port; if (bus->number != 0 && @@ -751,6 +752,7 @@ static int mvebu_pcie_setup(int nr, struct pci_sys_data *sys) for (i = 0; i < pcie->nports; i++) { struct mvebu_pcie_port *port = &pcie->ports[i]; + if (!port->base) continue; mvebu_pcie_setup_hw(port); @@ -777,6 +779,7 @@ static struct pci_bus *mvebu_pcie_scan_bus(int nr, struct pci_sys_data *sys) static void mvebu_pcie_add_bus(struct pci_bus *bus) { struct mvebu_pcie *pcie = sys_to_pcie(bus->sysdata); + bus->msi = pcie->msi; }