From patchwork Thu Dec 7 05:21:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Appana Durga Kedareswara rao X-Patchwork-Id: 10097665 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 36FD060325 for ; Thu, 7 Dec 2017 05:38:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 28D7128BE8 for ; Thu, 7 Dec 2017 05:38:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1D7D22A32A; Thu, 7 Dec 2017 05:38:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A3E4128BE8 for ; Thu, 7 Dec 2017 05:38:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=yArSu//Q+pJOW6ylGFWQjxGx32A3Lzv6jyPsopmEOgo=; b=mbX3fI2Fd+5hZZ 4xvoISv23ekMDw4ESrCqrnCuUv6J3DBB/gsutoU5fO5IlXQcAlatddT6gU7xO1pj7JOS6MNyAWHuK ZxERmKJ2h6vwsTyF83ELFSCZZEbRDnqKd5FGNJ5CI777PXSnMs/g+3l4UUMgDD3rrWykquI15LYFG ofDERlx0KvNcaEwUXJ8aCz+1NPolzDWDT8n3hCOLu0KxU15ekj36z1VcYDVFL75uXZhR0u76PABrR ULLNDIQKC4kucSbL2uRv0ynzpZ2S/0snPd4LAfaehtaV3BHUsmdXgnhO2XZPq+sc4dwKlJ6IMPv/X we78KVtpYcOIb7nO5QnA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eMoss-000722-Ro; Thu, 07 Dec 2017 05:38:10 +0000 Received: from mail-sn1nam02on0086.outbound.protection.outlook.com ([104.47.36.86] helo=NAM02-SN1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eMorQ-0005Qj-2x for linux-arm-kernel@lists.infradead.org; Thu, 07 Dec 2017 05:36:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector1-xilinx-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=wHti1owhjlwnbUKamOFQNYDPxUN0zR0Fj8+BIjjqhB8=; b=4xsJlqAFUjbzAWpbp1BwGZt/0uH8aPTFSXNg6NG8/VzGXfh2c1mvmn6/bL10ZQaiQvjcfkXVc/lU77pmwN3pEAJ5pRdrZ0Cd7M8cdYy9Uf2reA+SbktSbbJ4XytfcxsC6i0ntuFpnkZXfigy9ED3byVhmKRy/gmsySbXBFa73/g= Received: from CY4PR02CA0038.namprd02.prod.outlook.com (10.175.57.152) by CY4PR02MB3384.namprd02.prod.outlook.com (10.165.89.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.282.5; Thu, 7 Dec 2017 05:36:16 +0000 Received: from BL2NAM02FT023.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e46::207) by CY4PR02CA0038.outlook.office365.com (2603:10b6:903:117::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.302.9 via Frontend Transport; Thu, 7 Dec 2017 05:36:15 +0000 Authentication-Results: spf=pass (sender IP is 149.199.60.100) smtp.mailfrom=xilinx.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.60.100 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.100; helo=xsj-pvapsmtpgw02; Received: from xsj-pvapsmtpgw02 (149.199.60.100) by BL2NAM02FT023.mail.protection.outlook.com (10.152.77.72) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.282.5 via Frontend Transport; Thu, 7 Dec 2017 05:36:11 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66]:57603 helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw02 with esmtp (Exim 4.63) (envelope-from ) id 1eMoqw-0000d2-Lm; Wed, 06 Dec 2017 21:36:10 -0800 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from ) id 1eMoqt-0003jy-2x; Wed, 06 Dec 2017 21:36:07 -0800 Received: from xsj-pvapsmtp01 (mailhost.xilinx.com [149.199.38.66]) by xsj-smtp-dlp2.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id vB75a1Fm031594; Wed, 6 Dec 2017 21:36:01 -0800 Received: from [172.23.37.82] (helo=xhdpunnaia40.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1eMoqn-0003aq-2y; Wed, 06 Dec 2017 21:36:01 -0800 From: Kedareswara rao Appana To: , , , , , , , , Subject: [PATCH v7 5/6] dmaengine: xilinx_dma: fix style issues from checkpatch Date: Thu, 7 Dec 2017 10:51:06 +0530 Message-ID: <1512624067-13554-6-git-send-email-appanad@xilinx.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1512624067-13554-1-git-send-email-appanad@xilinx.com> References: <1512624067-13554-1-git-send-email-appanad@xilinx.com> X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.1.0.1062-23512.006 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:149.199.60.100; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(376002)(346002)(39860400002)(2980300002)(438002)(189003)(199004)(106466001)(2201001)(2950100002)(33646002)(39060400002)(4326008)(316002)(48376002)(9786002)(478600001)(50466002)(305945005)(50226002)(5660300001)(16586007)(2906002)(8936002)(77096006)(7416002)(36386004)(7696005)(51416003)(106002)(63266004)(36756003)(81166006)(8676002)(81156014)(76176011)(54906003)(356003)(110136005)(47776003)(107986001)(5001870100001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR02MB3384; H:xsj-pvapsmtpgw02; FPR:; SPF:Pass; PTR:unknown-60-100.xilinx.com,xapps1.xilinx.com; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2NAM02FT023; 1:IAPwokyJB9PmhQOJSad491eYAfZ7cvoaXBR6hD8tajVDpkWYtakqLVlO0b8eVAwD5eJ8vO+9je3gdL1Ddfx0ZTv9Yoxn5y2N1TxFEYgjmXp5hQwKbbaT1jtvCpNk2rDM MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: fe6a4b9d-7e65-47d3-283b-08d53d346ef5 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(5600026)(4604075)(4608076)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(2017052603286); SRVR:CY4PR02MB3384; X-Microsoft-Exchange-Diagnostics: 1; CY4PR02MB3384; 3:sjeJi+l2rVAoApE4szgpld97UMCu7r6DQuz7FSevfsqD7CEqi6iuzRwCCp2VJGo/KLB/z+8zuFzvn73M5S6KoTjfUEQDqABc0q2wzOq4enXw9vtcAZYYphU6+0RTKgBAlPUXGu9+0lQTiN/bNuY9VcGyxdN7489r7zyou9i5RFx/ARNTXUgxsErPgAWU75DUwEL9mFFuxXPCtoYeRxVcDJtQFBSfV+MA+BgA+7rq1hKpS85DjNPVJ58KJu/w52HmySXo1HHr0nw24koRGhvamjhRTlVLAMVj3seVSVHBpWr1Jbkv0TJ0YJl2Td9hNF6EXPENhyrspu48eQNN1DVHSkSzbIxbNnsBhp56ASPsaTI=; 25:RLbroSE8z/VtlrQQYCCMESRklPp5srawziqJKy8/hp33PFj5wdkBwE0PxfFtOIYujBKZRbJ+TU5sCcPK9+0HBcUNsuJvSLzXinnzG/QKjWXQm+wjjetPah+xSqw8cgjnL/JZcAMobPuYyOdgbN6/066K5fAQcsT+egLKlrzwmzPhoPYc/cES2njTHwpXcjJ96wD2VMfkorl70u0jNyRh0RWPgLrRJTNhJXMjObXysBL+Ou8oHMat8QFWR+2P8f4RAHlH1Dr85UPTMdDYFbD/bxXWzKX7Ifw37VoufoH+eF0OF1fk5mvin86K255VpMDgPEMCjg2FP5SFZ9B8iWdYoA== X-MS-TrafficTypeDiagnostic: CY4PR02MB3384: X-Microsoft-Exchange-Diagnostics: 1; CY4PR02MB3384; 31:N/N46P9bnW7WwDqUyI1VM1G0Su2kyyB7phpFkN/+yGQN6HwhoDXfHr+4jgReX0rAymT+Un8JxfgCH31MlBKFAzic6u66veRx2R466If+GBEgCcvTUlm+2wC901toGiyMFUKFIsY4bBjRHVRJLhtArpqaqr0RUV1oT82upvooMWAhhpiPUj4ziPzugH9mFKQQw7agm+pr8yJmswM89WEU9ytjxbIALhoSAu4KwxoRj7Q=; 20:f9iKA6aLdmeRzPwxGwThwvqFChycd4LeAf/eop+4WEH0EsLlhr6TMaC//2CdL/uSWrA3Qj01cjtte/muKAuF3CW7FMJ74zvAQGEGnHLIPhoiIaunTZtDNNwlHb0vx0iES69ZVpnxF6XTIIKoA3zyFRoETUQQqgmhj6T7N/GeZ2lu6d6S6m4Seu5pKHnkeb7zYoWVOvq0TDczrVex08xpVkoZaChNsB1fPZluH9wvPoWTd/repAXEiD3CUGtJjEwMJNaFzglMZg7jiE1ys2HFEhdt9LVqMyp+75vNKiORsIxLfUyRWDMg5FXWQR91vGemmwxp03+iIbL8JRFdFdRTg3ppNnnq6wBYKfTuhYyILosZJQme0zzjO91Pw4konl1hEiF8r4KG6tEWdMJmyNRX2IA9jIy9nGb0hJlvgdKoApqlhe/aPok8fQ34ExHetyKmtM5xB225QRHRKJAZgQGaDifl8Mw5k1TtMEXjLbfKEcQa8TUHB3hC3JVJuIPbDdJ5 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(192813158149592); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(2401047)(8121501046)(5005006)(93006095)(93004095)(3231022)(10201501046)(3002001)(6055026)(6041248)(20161123564025)(20161123562025)(20161123558100)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(6072148)(201708071742011); SRVR:CY4PR02MB3384; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:CY4PR02MB3384; X-Microsoft-Exchange-Diagnostics: 1; CY4PR02MB3384; 4:bG3wsR/ilCU6TMGMBhgtNYYUYuThvRDZMnlk59ZRkfY2sRVw2FDyvvNqU4K3lqYTcMCXVfRar/WwqK7K2em8E8xplDOnoCEmNjVCU75fps5j6RGo/QAlKDgG07NA5uA8M/nixez86LLeImZAgF0UikjwCauYwH/NooUNw+MZBvUy+c8pcVrUUyFSEXY2ecci5FzEu4GnYTj2iKP0OVhpQ8lOLzR9ay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MNwDwmArsQPe4gVgJMnKxRU/Z3rqMl0dlbMcEBiyP0pEP6UX17Twc3vXPtI6JJHn6hQnsTAxlv4Zg35ObXGcpcnOzBxc1vO6iuC66sX3q0y2lUB0aBdSwYxr3UuITODySJ71CnmMmZENS9vsU0azHMwvF+Xfq0eqJcVAIjcmTtldEqeLtg2bLexG3P/yE18VQZHX87/HBG23WbpB5QhpDZu+m5E4Mw51efBCLqtP9eCXf4gQ9Q8xGpFQlyxHJs SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Dec 2017 05:36:11.4579 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fe6a4b9d-7e65-47d3-283b-08d53d346ef5 X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.60.100]; Helo=[xsj-pvapsmtpgw02] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR02MB3384 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171206_213640_830828_D4A83198 X-CRM114-Status: UNSURE ( 9.67 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patch fixes below. ERROR: open brace '{' following function definitions go on the next line +static int xilinx_dma_child_probe(struct xilinx_dma_device *xdev, + struct device_node *node) { Signed-off-by: Kedareswara rao Appana --- Changes for v7: --> New patch. drivers/dma/xilinx/xilinx_dma.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/dma/xilinx/xilinx_dma.c b/drivers/dma/xilinx/xilinx_dma.c index eaa93fe..b09a8ef 100644 --- a/drivers/dma/xilinx/xilinx_dma.c +++ b/drivers/dma/xilinx/xilinx_dma.c @@ -2484,7 +2484,8 @@ static int xilinx_dma_chan_probe(struct xilinx_dma_device *xdev, * Return: 0 always. */ static int xilinx_dma_child_probe(struct xilinx_dma_device *xdev, - struct device_node *node) { + struct device_node *node) +{ int ret, i, nr_channels = 1; ret = of_property_read_u32(node, "dma-channels", &nr_channels);