Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752528AbdLGFgu (ORCPT ); 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 ); Thu, 7 Dec 2017 00:36:19 -0500 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; From: Kedareswara rao Appana To: , , , , , , , , CC: , , 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: 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?= =?us-ascii?Q?5slFN8BTqkHXgNFgOL0+Zw0AVc28qMihvwZy4ZYJBdx/XTkm8Dp8A8GpvI3c?= =?us-ascii?Q?yrHXnm+5wfVtH8OrDTwFYtSCl3R+UeSt1pVgmF24s9RxKncz9PpGR/n5L/rM?= =?us-ascii?Q?VzsBXeoWCYdekZoHxrzdKPygjcpDz5i64UP2vE/EauoA4T+jB23N4RUFqqyZ?= =?us-ascii?Q?mCmyD+D+zQe4Y+dWm/KHJC5+wxsNdMTs+HRIpiBehL0CwxOzKOtgT8xlgR6a?= =?us-ascii?Q?IlFBqTCPpjVCy+r0iKuX6HT2HQ26N1NeTzzCTTk8KYjjK9IY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B28PI2b42kqIF1Q77xhD3ytQDJSRzSwcbV8bnqDnkIwPmEXEQ=;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: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 937 Lines: 29 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); -- 2.7.4