Message ID | 1512624067-13554-6-git-send-email-appanad@xilinx.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show
Return-Path: <dmaengine-owner@kernel.org> 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 7B08E60325 for <patchwork-dmaengine@patchwork.kernel.org>; Thu, 7 Dec 2017 05:36:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6BA8F2A328 for <patchwork-dmaengine@patchwork.kernel.org>; Thu, 7 Dec 2017 05:36:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6004B2A32C; Thu, 7 Dec 2017 05:36:53 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C71F42A328 for <patchwork-dmaengine@patchwork.kernel.org>; Thu, 7 Dec 2017 05:36:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752524AbdLGFgu (ORCPT <rfc822;patchwork-dmaengine@patchwork.kernel.org>); Thu, 7 Dec 2017 00:36:50 -0500 Received: from mail-sn1nam02on0062.outbound.protection.outlook.com ([104.47.36.62]:32992 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752326AbdLGFgT (ORCPT <rfc822;dmaengine@vger.kernel.org>); Thu, 7 Dec 2017 00:36:19 -0500 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 <appana.durga.rao@xilinx.com>) 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 <appana.durga.rao@xilinx.com>) 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 <appanad@xilinx.com>) id 1eMoqn-0003aq-2y; Wed, 06 Dec 2017 21:36:01 -0800 From: Kedareswara rao Appana <appana.durga.rao@xilinx.com> To: <dan.j.williams@intel.com>, <vinod.koul@intel.com>, <michal.simek@xilinx.com>, <appanad@xilinx.com>, <lars@metafoo.de>, <akinobu.mita@gmail.com>, <joabreu@synopsys.com>, <mike.looijmans@topic.nl>, <kedare06@gmail.com> CC: <dmaengine@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org> 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 Content-Type: text/plain 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: <CY4PR02MB33843E78BFD1B4475278A0D2DC330@CY4PR02MB3384.namprd02.prod.outlook.com> 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+c8pcVrUUyFSEXY2ecci5FzEu4GnYTj2iKP0OVhpQ8lOLzR9ayGWyIyJgBzXgu6r7eu/giUmpYJpaniy6T7qui2qJIlZJHGtVXsDbNz9S9QCf3aiAxGNBD+Pi4o8JeUvNfd2AOYDH/bWYrMYM4b9 X-Forefront-PRVS: 05143A8241 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR02MB3384; 23:EQA1vyfmQ1ufK5FDi8/tPVVTY6Mxe8lEZ82snc8ld?= =?us-ascii?Q?mCVGYVga90bap90+L538ZajBDAJOj//AeSFBp6nzaNmw/Abzmx0DjODdDwsv?= =?us-ascii?Q?b6yeygyod6Bga8FbD3CrPdRNaUm+VL34Eg1MT7jS9LtCPxE+sKzvHTYKYlOd?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zkLa?= X-Microsoft-Exchange-Diagnostics: 1; CY4PR02MB3384; 6:tWV9B9e+4I4Gep19cMhpNRzIychb2TwXYf2cWLHk5ha9t1fPM30oN1ArMZc1QQxGm9MtJvzP5X+IEOdpfg9Ndu3ba4x1mbbw8+fRQbBlNpd8s5Y/fTSdTP6bJHGh/zOmVW6a3sToWOpK2N3JXGnnXkpJoUyPljm3233PpcJX4xwZP1Fzpixktw4xOBLsIrzGBVKVQbsxq2MBXzteIJAS8iCMQvOP+y9Ah2/EnoUo/DGAqIwpe3pzagXkrf9kjwDEC4UqDzVlVBoMQBeFiXh0lgjvBiaqZE2lYf/K2vmW2fljaMy2qEdhs0R85NB28PI2b42kqIF1Q77xhD3ytQDJSRzSwcbV8bnqDnkIwPmEXEQ=; 5:QwbHN7wK5pqbeBcofwtcJ7FHN/6xY9k8bwcecUNfcaPVCBg9wZfFyq/juyED+vbsK+UcvHStU7r3rpGfY6WxUKF/qsnSJz/GL7h3FPZFU9/oeIDe5sMjXx72Gmh3+LdP1pIWOoL7wEK5HGesysjr3kJb4LajDCa2IejSRsVR0bA=; 24:YkfKAl+vpSiUxX7wdrqy24i8ypLyWurJOnP8Yx4L1Ucfaaq6kVfED5kwF1NJp5A+/9h4PSJ0ILCHg5Zt8lWTloE8z2RuUD0MXP6R/RtXa4E=; 7:J/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 Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: <dmaengine.vger.kernel.org> X-Mailing-List: dmaengine@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
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);
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 <appanad@xilinx.com> --- Changes for v7: --> New patch. drivers/dma/xilinx/xilinx_dma.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)