From patchwork Fri Dec 27 00:30:25 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 3407661 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 CF43DC02DC for ; Fri, 27 Dec 2013 00:30:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 06AFB20144 for ; Fri, 27 Dec 2013 00:30:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4AD082012B for ; Fri, 27 Dec 2013 00:30:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751256Ab3L0Aa2 (ORCPT ); Thu, 26 Dec 2013 19:30:28 -0500 Received: from mailout3.samsung.com ([203.254.224.33]:45814 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751229Ab3L0Aa2 (ORCPT ); Thu, 26 Dec 2013 19:30:28 -0500 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MYF004BRW2QJ170@mailout3.samsung.com> for linux-pci@vger.kernel.org; Fri, 27 Dec 2013 09:30:26 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.51]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id 47.F3.14803.22ACCB25; Fri, 27 Dec 2013 09:30:26 +0900 (KST) X-AuditID: cbfee691-b7efc6d0000039d3-70-52bcca224a44 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id D6.11.28157.22ACCB25; Fri, 27 Dec 2013 09:30:26 +0900 (KST) Received: from DOJG1HAN03 ([12.23.120.99]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MYF00BYAW2PH780@mmp2.samsung.com>; Fri, 27 Dec 2013 09:30:25 +0900 (KST) From: Jingoo Han To: 'Bjorn Helgaas' Cc: linux-pci@vger.kernel.org, 'Mohit Kumar' , 'Jingoo Han' Subject: [PATCH] PCI: designware: Fix indent code style Date: Fri, 27 Dec 2013 09:30:25 +0900 Message-id: <000401cf029a$d63943d0$82abcb70$%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: Ac8CmtXoADxXUAjQT1iOqFyE0NCLWQ== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrGIsWRmVeSWpSXmKPExsVy+t8zY12lU3uCDJZOEbFY0pRh8fKQpsXl hZdYLc7OO85msXHqL0YHVo8Fm0o9+rasYvR4+mMvs8fnTXIBLFFcNimpOZllqUX6dglcGZdO NDAWvOSquHI0ooHxKEcXIyeHhICJRNeuo2wQtpjEhXvrgWwuDiGBZYwSKy+vZoUpWvfuKyNE YjqjxJ0bu1ghnF+MEs82zmIEqWITUJP48uUwO4gtIqApMXvFFiYQm1kgXeLfo2VAYzk4hAXM JTbuVgcJswioSmx8fpEFxOYVsJW4MPkOlC0o8WPyPRaIVi2JzduaWCFseYnNa94yg4yREFCX ePRXF2KTnsT2HduhSkQk9r14B3anhMAmdom1H3+yQewSkPg2+RALRK+sxKYDzBB/SUocXHGD ZQKj2Cwkm2ch2TwLyeZZSFYsYGRZxSiaWpBcUJyUXmSqV5yYW1yal66XnJ+7iRESZxN3MN4/ YH2IMRlo/URmKdHkfGCc5pXEGxqbGVmYmpgaG5lbmpEmrCTOm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PNWaD7x7u/a+feYZOZVjquuxTyapFfGnZ516y8Z/bavszgCvZCWW 4oxEQy3mouJEAFf6lvMmAwAA 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.5 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 Fix indent code style and replace 'MSI interrupt controller' of comment with 'MSI controller', in order to fix the following checkpatch issues. ERROR: code indent should use tabs where possible WARNING: please, no spaces at the start of a line WARNING: line over 80 characters Signed-off-by: Jingoo Han --- drivers/pci/host/pcie-designware.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pci/host/pcie-designware.c b/drivers/pci/host/pcie-designware.c index 4a08d30..17ce88f 100644 --- a/drivers/pci/host/pcie-designware.c +++ b/drivers/pci/host/pcie-designware.c @@ -213,14 +213,14 @@ static int find_valid_pos0(struct pcie_port *pp, int msgvec, int pos, int *pos0) } static void clear_irq_range(struct pcie_port *pp, unsigned int irq_base, - unsigned int nvec, unsigned int pos) + unsigned int nvec, unsigned int pos) { unsigned int i, res, bit, val; for (i = 0; i < nvec; i++) { irq_set_msi_desc_off(irq_base, i, NULL); clear_bit(pos + i, pp->msi_irq_in_use); - /* Disable corresponding interrupt on MSI interrupt controller */ + /* Disable corresponding interrupt on MSI controller */ res = ((pos + i) / 32) * 12; bit = (pos + i) % 32; dw_pcie_rd_own_conf(pp, PCIE_MSI_INTR0_ENABLE + res, 4, &val);