From patchwork Tue Sep 28 15:18:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Flavio Suligoi X-Patchwork-Id: 12523097 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F3B98C433F5 for ; Tue, 28 Sep 2021 15:21:31 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BBC3861246 for ; Tue, 28 Sep 2021 15:21:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org BBC3861246 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=asem.it Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=2OBId8fk7WpPXxQsSFFpOC7wvWYhj+dmSA01txhvV2k=; b=qqTYEPOptq91aN WYSCUfvEsBzdYq9EYZ45VPwSqKDDj2eugej4kKVdbJQ7NMPbzKrLLZm5mK7U/Ew1HMnUm8Dnjlqe4 qisL00Y2PcTN6C1vA49nGNhgzS71T6AxwB4KdsfrI8T87wxEBnksDDDsz9Fl5calOohGGmkNPyTx8 zNNROPxNz9MqrKeWOYU204GCkw4vPQTK8PQhsMBaypmLVtpvC0IkE419z8Ywx2PPCRIAwQUVgjOlU 7JWID8BaDGKCmCPfwyGVicH78lWXcVQX8tV2M7AGWqPxNPV9VuCnYb9VEIDhwiv4Q01H+AHHFYs9F htmtEAX68M79gJSRh/0g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mVEt1-007js4-49; Tue, 28 Sep 2021 15:19:15 +0000 Received: from mail-eopbgr60070.outbound.protection.outlook.com ([40.107.6.70] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mVEsk-007joY-Fv for linux-arm-kernel@lists.infradead.org; Tue, 28 Sep 2021 15:19:01 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QuwenXD65pd46y/SDC76qs6GQn3XtN1s7lYC8Ahf/mBVOgEW/GnMKm4sLkTTbFpByLdAXrSIcA1vPB20DrPNjjRg2XYXMQvJAp+V5Bpo5TbjWjRDsDd7a+YFt0bnx5TjDQ8Us8YJR8l2yI1x/atyz5hlxm/jiJD2NMaHwl5eNJ/NKIwOXdhzle3U9HJn6N+dJ2q5/KQEv79uXTAaG+m5MK3uCuAO/fiJuw3qL2ctUmcYe8ftMKzTCC3OhqDc/x+DBkmV23K6HVT4qm2wHGe5tQ2L85VMt2ppq4qkAiKFlI1pvYvZd/Th8yr0Alr7/i9Th8GO2DSYEE/xwUx72OdMaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=U/J9Jxtg1ZhSR/t0TTLQkJ3qosQzIjuGrAoDsnxTPBc=; b=TknHtlNR5WAWy9zvQBHj83aaQQ/InX9hSds2kJfK4UR0A4AvJzhPvQetjiz2xFvXnqYGnl90k/Jc56SCRmCu+uFWYRaMZQmgvDzJGj5m434NLNgba/kJJhwDXA60ByraRoQ3QP0N9vmLWFWkbVO9/rA7mgRcIB0toNRl3slw0kPtfiXTfplwA1CIcF1NuH/42fbAfZmEQLBuxSbPj1Dri1Hs0KzldoJsTfYxWXyWLhgPy9aezNBaBAti5wBEkwg3uoTWpoeTu8urv3VPODvhW5qeFG7tfY5uYqhhmiJIHM8ec5NF++Vb/I6gwtjlNAO3a5zONU8CONi4ZEX8McQWaQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=permerror (sender ip is 151.1.184.193) smtp.rcpttodomain=lists.infradead.org smtp.mailfrom=asem.it; dmarc=fail (p=none sp=none pct=100) action=none header.from=asem.it; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=asem.it; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=U/J9Jxtg1ZhSR/t0TTLQkJ3qosQzIjuGrAoDsnxTPBc=; b=dHbMYGhaWIbOWkF2tHIdd3W8hwKAC3bDXf5uSTo2ZJUghNWDzRXp6yM9lz3lzsvVFLhpDLzoCiFvzxxBmtOL4CyZzm5Q3Jwlcb+DkT3duJK1O/4EcbW/9hQJxI5gXRxMHZl8mG0CFg2BX38GDcABs4+PoOAz/1EcW+l4Q/XrFLU= Received: from AM5PR0502CA0023.eurprd05.prod.outlook.com (2603:10a6:203:91::33) by DB8PR01MB6326.eurprd01.prod.exchangelabs.com (2603:10a6:10:159::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.13; Tue, 28 Sep 2021 15:18:52 +0000 Received: from VE1EUR01FT046.eop-EUR01.prod.protection.outlook.com (2603:10a6:203:91:cafe::31) by AM5PR0502CA0023.outlook.office365.com (2603:10a6:203:91::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.13 via Frontend Transport; Tue, 28 Sep 2021 15:18:52 +0000 X-MS-Exchange-Authentication-Results: spf=permerror (sender IP is 151.1.184.193) smtp.mailfrom=asem.it; lists.infradead.org; dkim=none (message not signed) header.d=none;lists.infradead.org; dmarc=fail action=none header.from=asem.it; Received-SPF: PermError (protection.outlook.com: domain of asem.it used an invalid SPF mechanism) Received: from asas054.asem.intra (151.1.184.193) by VE1EUR01FT046.mail.protection.outlook.com (10.152.3.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.13 via Frontend Transport; Tue, 28 Sep 2021 15:18:51 +0000 Received: from flavio-x.asem.intra ([172.16.17.208]) by asas054.asem.intra with Microsoft SMTPSVC(10.0.14393.0); Tue, 28 Sep 2021 17:18:50 +0200 From: Flavio Suligoi To: Vinod Koul , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Pengutronix Kernel Team , NXP Linux Team , dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Flavio Suligoi Subject: [PATCH 1/4] dmaengine: imx-sdma: remove useless braces Date: Tue, 28 Sep 2021 17:18:30 +0200 Message-Id: <20210928151833.589843-1-f.suligoi@asem.it> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-OriginalArrivalTime: 28 Sep 2021 15:18:50.0907 (UTC) FILETIME=[2452CEB0:01D7B47C] X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 087102f6-cc0a-4f50-a032-08d982934737 X-MS-TrafficTypeDiagnostic: DB8PR01MB6326: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1728; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: EZqWVi5jcRv8CoLshPHWL31MQMCcGiGyf7GU2EBqfDbZOieIJFHgJbwXtmaDmRtTTe7FTbIRl48T7GY4Uiv+zpB3whAI3ADa/+gfYu/+AI9eBOVDTtXWC1gb8s/sLjHeCaLxuoPyLrX5q5Xixk6Tf0DbtFNDMMXAxjXecmaLp6CPZ61SRno11NBxxvuHQ6WJ6XQ8pWZgw4TufBJgzENAEudNT0Wpl82Qw2B+P0uvYfsmG9VCQXzDBA5n5daG5dWDnN4uEyQ0367ZE2AnSza5YUaAMDF7PDbMsg+N3ObEC5SosbJKRDhBY3ifuQ2isu7zkGvm6liEdRbwe3BjnUJ5i502apB1FbcYLHoPTxP8kJ12lFTmV2bsg/wih67jVUXc3XytMKF4Rqy141cCAlQfOaAsGN2KR74GNs6GL3lZUTDwMfwvx4uLwztXchFJWB3Ze2FYmVHrAuyvzo6wIaNAlcIs7tm6SSUArOoym+fu4GXoxfCcrVzsB9UTMkU1rgD7fEqWrdAiWCHjj5xNWKylMDJI2Bx5MKZl7DNlGbqBpyUMtgD/js34aEMg3Ssvo77fM2cy2RQR3ekLWoTdM6BbSxz/U6l2R6zFSfMFNkfvgJVWYlfEeE80z9P/QcHwnZfQMZMkgRdDbuFqDU6s8XDYljzsRwqTXzf4BniJLlf4HZqkWYiJdFDRyoElxNIfZ2WoiOrF5Bfm30ar1fzw7dCRPDoWAp7CCwphkWK8tLvwSJ0= X-Forefront-Antispam-Report: CIP:151.1.184.193; CTRY:IT; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:asas054.asem.intra; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(46966006)(36840700001)(1076003)(36756003)(4744005)(336012)(26005)(70206006)(70586007)(36860700001)(186003)(6666004)(107886003)(54906003)(81166007)(86362001)(83380400001)(316002)(110136005)(2906002)(82310400003)(356005)(8936002)(8676002)(47076005)(2616005)(4326008)(5660300002)(508600001)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: asem.it X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Sep 2021 15:18:51.5107 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 087102f6-cc0a-4f50-a032-08d982934737 X-MS-Exchange-CrossTenant-Id: d0a766c6-7992-4344-a4a2-a467a7bb1ed2 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=d0a766c6-7992-4344-a4a2-a467a7bb1ed2; Ip=[151.1.184.193]; Helo=[asas054.asem.intra] X-MS-Exchange-CrossTenant-AuthSource: VE1EUR01FT046.eop-EUR01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR01MB6326 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210928_081858_662066_FA435B72 X-CRM114-Status: UNSURE ( 9.69 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Braces {} are not necessary for single statement blocks. Signed-off-by: Flavio Suligoi --- drivers/dma/imx-sdma.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c index cacc725ca545..a58798fc3ff8 100644 --- a/drivers/dma/imx-sdma.c +++ b/drivers/dma/imx-sdma.c @@ -741,9 +741,8 @@ static int sdma_load_script(struct sdma_engine *sdma, void *buf, int size, unsigned long flags; buf_virt = dma_alloc_coherent(sdma->dev, size, &buf_phys, GFP_KERNEL); - if (!buf_virt) { + if (!buf_virt) return -ENOMEM; - } spin_lock_irqsave(&sdma->channel_0_lock, flags); From patchwork Tue Sep 28 15:18:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Flavio Suligoi X-Patchwork-Id: 12523095 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C0F4FC4332F for ; Tue, 28 Sep 2021 15:21:24 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9177E61213 for ; Tue, 28 Sep 2021 15:21:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 9177E61213 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=asem.it Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=sTUjw32lxat4cjjcPaH/Yl0xkDjayhNbhDnkLJ3L7q8=; b=zxA24IUpRN5o1K YnFVQNb1xfY/tv0Bzofzz30umS2pdypR3NlYLaYy50cokDeHatlzbEHL38FWH7+bizKniq4LTUca6 SZOckcYZYlMmKnvCOKvaBVr7aaPPxIuk9W10eK4Z8jE/kz7kqd6o/A2WWfGV4tFppnqmUKHkWmHVq Px/PhSWHB7SbMsWe0NSmmF4gvDRW7At6mhVLvr1lapS/4BijRY0VbbmN/pmxhFR86fKlhRtW/AdIm SPpBZgJK743Ltrjtx4YusFlMqC9h1jyfJhkH0LQBU1fYFqwLoBNrEwBV81dJPt+6JqsKLWk0qjy+e c6JGGP7K8W/ejpkgLLeg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mVEso-007jqP-CJ; Tue, 28 Sep 2021 15:19:02 +0000 Received: from mail-am6eur05on2049.outbound.protection.outlook.com ([40.107.22.49] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mVEsk-007joZ-AP for linux-arm-kernel@lists.infradead.org; Tue, 28 Sep 2021 15:19:00 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mn3H/5nex//M0LyInDeaLBHIxcry5YAgksJHa2pEeKJmJxH0j4x+3riu7hCWGdoXSl4n2x2HNr9P+qI9MskXIB5S7uM7wBfRBcopvSbLMS49yarTRCy7SLeIWAFNdEeo9DLusF/njYzPXy2nTTNcKUw2OQmTlyXQo2kmfKYMV2RFFLNzyBgyqlGWyMb9ku7XKiYzSC9eefFZK1tVmp0RsPgP8zCvwshIJC5BMZZnkqQD+d8eDbBSvpLVifCRDixBQu2xpW9leJvxE2diIQ/HdM77T9dhM916TerxaMVz6RzoKKcLCQ9CAVhAAGkIUjrNjgpaQ2hO9S2NfrvMDVtxpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=t4zUjXTn0plzCzI+5m20ObT412GiESbjjj+IPIieFWI=; b=mYl3phyy+xeCwZRauXfw20aAlqg3eEqwcwKyKCrCByUUiNccxRDRGVF6tlLpbt7QoeIZBiR28/tL4ool2hXdatVKnEPWJtaCaP1Xdn12MCsepFOrZfR9xhFxdcDVob38NTLEirG2cQZeYk4yfjZNQKQxOsc5d/KpAcJGtGK+c4rhLYXTXV74V8mO0R0MnNGZIEGRMmh4Mp7A8C6IFeGn9oy47q6DLVyU7yS8LDQVrafgftBgQbo1XR2yLwZlXfdCamuqWZniRGjeG/Lw+p8drKZPIja6kLBBmOj5WpVzaictOibeYTlPUEzVK2rTxZWiiWLBlqXg/VvIcVAHIW/PGA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=permerror (sender ip is 151.1.184.193) smtp.rcpttodomain=lists.infradead.org smtp.mailfrom=asem.it; dmarc=fail (p=none sp=none pct=100) action=none header.from=asem.it; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=asem.it; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=t4zUjXTn0plzCzI+5m20ObT412GiESbjjj+IPIieFWI=; b=Bwl8M3wIUD8TcDMfk6ppfh3rBuAWlUbVjRrU6M3XKFCTFan61jG63s4B3RLtl3n8r4T44188ooJyrB9YVNUB5TDe9RmL8e3WNgR5T3mDs+auxmzcP2Oj3rtHckoW3rWOnslUTwKYm78yxd06iM4Hh8mNE50yZHNzpN37I2hzh7M= Received: from AM5PR0502CA0023.eurprd05.prod.outlook.com (2603:10a6:203:91::33) by PA4PR01MB7872.eurprd01.prod.exchangelabs.com (2603:10a6:102:f7::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.21; Tue, 28 Sep 2021 15:18:52 +0000 Received: from VE1EUR01FT046.eop-EUR01.prod.protection.outlook.com (2603:10a6:203:91:cafe::31) by AM5PR0502CA0023.outlook.office365.com (2603:10a6:203:91::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.13 via Frontend Transport; Tue, 28 Sep 2021 15:18:52 +0000 X-MS-Exchange-Authentication-Results: spf=permerror (sender IP is 151.1.184.193) smtp.mailfrom=asem.it; lists.infradead.org; dkim=none (message not signed) header.d=none;lists.infradead.org; dmarc=fail action=none header.from=asem.it; Received-SPF: PermError (protection.outlook.com: domain of asem.it used an invalid SPF mechanism) Received: from asas054.asem.intra (151.1.184.193) by VE1EUR01FT046.mail.protection.outlook.com (10.152.3.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.13 via Frontend Transport; Tue, 28 Sep 2021 15:18:52 +0000 Received: from flavio-x.asem.intra ([172.16.17.208]) by asas054.asem.intra with Microsoft SMTPSVC(10.0.14393.0); Tue, 28 Sep 2021 17:18:50 +0200 From: Flavio Suligoi To: Vinod Koul , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Pengutronix Kernel Team , NXP Linux Team , dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Flavio Suligoi Subject: [PATCH 2/4] dmaengine: imx-sdma: add missed braces Date: Tue, 28 Sep 2021 17:18:31 +0200 Message-Id: <20210928151833.589843-2-f.suligoi@asem.it> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210928151833.589843-1-f.suligoi@asem.it> References: <20210928151833.589843-1-f.suligoi@asem.it> MIME-Version: 1.0 X-OriginalArrivalTime: 28 Sep 2021 15:18:50.0986 (UTC) FILETIME=[245EDCA0:01D7B47C] X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 668b9def-aa94-4d5d-82de-08d9829347da X-MS-TrafficTypeDiagnostic: PA4PR01MB7872: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3513; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: lm/w6XR7JKMg6BnL2b5RPIUZ6XSWZX5LnUaDiHQwsIPHjD8WmDoJX/AKEmQj72twu2+zCgnc4ADZwlKmUVaa7nw7gZH7hfOi5EelXAu+QArWsyTNDsnskTHtABQk9VaREoViaTXc14gh5HQtmUYo10SF8YxyaqDVxdx/3DMYknBk6T46m1TCUYUGFRfnq/ysyHJIgm/pRjifg4/x4VM+iuaXMB63FJqZTH0Y2/GMIYUXn0wdO+3o48T3be0C0BB69Oc6GeEyIgVGPsQneH7XVAr2sD4Z1S01e1Wm+vBy1yVkJrNl/96FQW4vAIuX0bZHRpTAZvn5P98VG4XdJOSYRYX90nGs8cLpA1j2+Cu558yl7GG+GYTExLJJas6nKh9wq5qW0WOf7Ys2DLRdHvn/GxGeLOdCAVwvZTaziD9jJhICfn2LiKnQsozcrZOpFnHQwz22jsqpvqLCPwqE06P6dNjaTYm5M6IpzNOhRLX44N8UmtlbGuWdTLrW691RGNi5y1JLrRZTn7RmnI07KqsnVEC/yFDdODsM1t313/FlPojhi9dLH3aLq24sLJ/zcAWmoZ3Kl/c9cMNobN2bTYCD6EbK1N++EFJW4mTvjfX1cOvdavhmz8OHAcCPKGHRcZNkUWJrgieinCCLp9/h4JBtc0q9Vq/LnDwH/VnfpX632UP5auERmaVGshVVyOWNHth3ccW9gfOH9M2dnczzZpDF4OUfwidhzrfjGdZAjN+oU38= X-Forefront-Antispam-Report: CIP:151.1.184.193; CTRY:IT; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:asas054.asem.intra; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(46966006)(36840700001)(54906003)(186003)(8676002)(8936002)(356005)(81166007)(336012)(110136005)(5660300002)(316002)(70586007)(86362001)(107886003)(70206006)(26005)(1076003)(508600001)(36756003)(47076005)(4326008)(36860700001)(6666004)(2906002)(2616005)(83380400001)(4744005)(82310400003)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: asem.it X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Sep 2021 15:18:52.5852 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 668b9def-aa94-4d5d-82de-08d9829347da X-MS-Exchange-CrossTenant-Id: d0a766c6-7992-4344-a4a2-a467a7bb1ed2 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=d0a766c6-7992-4344-a4a2-a467a7bb1ed2; Ip=[151.1.184.193]; Helo=[asas054.asem.intra] X-MS-Exchange-CrossTenant-AuthSource: VE1EUR01FT046.eop-EUR01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR01MB7872 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210928_081858_642480_3B129963 X-CRM114-Status: GOOD ( 10.28 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The "if" conditional statement is not a single statement, so both branches require braces. Signed-off-by: Flavio Suligoi --- drivers/dma/imx-sdma.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c index a58798fc3ff8..726076683400 100644 --- a/drivers/dma/imx-sdma.c +++ b/drivers/dma/imx-sdma.c @@ -1226,8 +1226,9 @@ static int sdma_config_channel(struct dma_chan *chan) if (sdmac->peripheral_type == IMX_DMATYPE_ASRC_SP || sdmac->peripheral_type == IMX_DMATYPE_ASRC) sdma_set_watermarklevel_for_p2p(sdmac); - } else + } else { __set_bit(sdmac->event_id0, sdmac->event_mask); + } /* Address */ sdmac->shp_addr = sdmac->per_address; From patchwork Tue Sep 28 15:18:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Flavio Suligoi X-Patchwork-Id: 12523099 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A84D2C433F5 for ; Tue, 28 Sep 2021 15:21:40 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 74D306108F for ; Tue, 28 Sep 2021 15:21:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 74D306108F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=asem.it Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=PQxdkGWZKJMzvG7MmEAvsl0eKyqFpUHDw3TRjhO39UE=; b=t9Ag9Ig59F176G HIc4/IDc932niXBX6V8isz/0I6lRt6h0OjSTu7Hgi+D0goEJCeeuGIa7tac+1puE8LM4ppTrw/mnl bsQmv8i+8C06FkTBPD93wHwxGk8zgjeTciS+SFTMV1hoDXRmWhTOuwdTp/beuFHYhtuvVYnsbz2WF CRRYa3C8mHW/Rh3SHVqRLQRcqh8MYVKPoCookA/KvjyWQ5pTzI4UdCf1OqmyYElNDdXY4CeS5XhP0 PoKYKTlNJGhFsiEXkEcHAViytXQMsvPbyX1k6BUJI/euSd++hVdUBrnTMw2EUwi5EVXZBvACF8KFd t46bSzSxjyE7z4lRdUdA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mVEtS-007jyl-9F; Tue, 28 Sep 2021 15:19:42 +0000 Received: from mail-eopbgr50083.outbound.protection.outlook.com ([40.107.5.83] helo=EUR03-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mVEsm-007jpB-I7 for linux-arm-kernel@lists.infradead.org; Tue, 28 Sep 2021 15:19:02 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BfEi6D9xbnIQvW75iYeGraumCmqrbgVdgPX+ZWxMNoodvP6N+chvijeXSseRYocN9CaoSWV0xRk/fM8Yc5g+SfwsLsK6TnrDzZsoawofh/ztW9corgxKE4/H/hM6aG5zzxo8bX0ul6e3Z/WNlhq3MKq9o1H91VCUhuCLQEKGZzWr9b92A+Ek276Kn8Cu7Kf+sIvN24+lXkCP4zu3awxOxrmeomPZUbNamRzxQYiVW4ZGHtsKcl3qhnbXqsSTM877mIAjXeSbdKTKYby5d/hO1uYz1UPcyvtjoUFhV6cZVZYs0w6k4LQoE4ksvtsROey8+tqB7copJTbxz3nJoU2S5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=g0YYPJu6k4nLFfF0Qw5mV8lnqTq7o+IquhdNTnDx150=; b=irC8MAqw8KwSno+pB0X8kl9wFkdPYm5lBGu/SPYaFLyQANY0Qq+hleFbd423qhfQujuDceTu+YVdWpZK5CBSHAt5/qYAIVL9Qt2UcI+18in9Ks/bQadmZwCSzahNqt7PVDfZgoQANngE0cx42ypQfs/kCgZ9O7FK6msEYCvhF9zelNZVKHv/PAk8lz4y5J2Gm4U6PowBqvFmq/SWPMzSAw1kWkjPptk0QKwIsXquHQjTAmUOLbkKFHWOZEKKmOyOGM7230Eo/UIbCK7FU6fcqJfG481pmxNsXtaSZ0UiWf0qytIxq1SevxAGkfxWr0MaCiKqfFaXbPSm7W+JK6Wyvg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=permerror (sender ip is 151.1.184.193) smtp.rcpttodomain=lists.infradead.org smtp.mailfrom=asem.it; dmarc=fail (p=none sp=none pct=100) action=none header.from=asem.it; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=asem.it; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=g0YYPJu6k4nLFfF0Qw5mV8lnqTq7o+IquhdNTnDx150=; b=O0ls0hLcxjXPUFzegLOnaHycbQvG6ecSUhhzuX2n6i83k3QY98vwXkKE4TLGr1XWFM5gS2WQwsAXQe4C+RgYC2v0nfMJIZrgLPuMQm76gdPUAlfLr/L89qUc452qpg7Oh2RebUUAoynUolfOTQPN5U0y0WT04v3JgQdaA/DZSpE= Received: from AM5PR0502CA0017.eurprd05.prod.outlook.com (2603:10a6:203:91::27) by PA4PR01MB7790.eurprd01.prod.exchangelabs.com (2603:10a6:102:c6::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.14; Tue, 28 Sep 2021 15:18:53 +0000 Received: from VE1EUR01FT046.eop-EUR01.prod.protection.outlook.com (2603:10a6:203:91:cafe::57) by AM5PR0502CA0017.outlook.office365.com (2603:10a6:203:91::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.15 via Frontend Transport; Tue, 28 Sep 2021 15:18:53 +0000 X-MS-Exchange-Authentication-Results: spf=permerror (sender IP is 151.1.184.193) smtp.mailfrom=asem.it; lists.infradead.org; dkim=none (message not signed) header.d=none;lists.infradead.org; dmarc=fail action=none header.from=asem.it; Received-SPF: PermError (protection.outlook.com: domain of asem.it used an invalid SPF mechanism) Received: from asas054.asem.intra (151.1.184.193) by VE1EUR01FT046.mail.protection.outlook.com (10.152.3.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.13 via Frontend Transport; Tue, 28 Sep 2021 15:18:53 +0000 Received: from flavio-x.asem.intra ([172.16.17.208]) by asas054.asem.intra with Microsoft SMTPSVC(10.0.14393.0); Tue, 28 Sep 2021 17:18:51 +0200 From: Flavio Suligoi To: Vinod Koul , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Pengutronix Kernel Team , NXP Linux Team , dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Flavio Suligoi Subject: [PATCH 3/4] dmaengine: imx-sdma: align statement to open parenthesis Date: Tue, 28 Sep 2021 17:18:32 +0200 Message-Id: <20210928151833.589843-3-f.suligoi@asem.it> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210928151833.589843-1-f.suligoi@asem.it> References: <20210928151833.589843-1-f.suligoi@asem.it> MIME-Version: 1.0 X-OriginalArrivalTime: 28 Sep 2021 15:18:51.0001 (UTC) FILETIME=[24612690:01D7B47C] X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4a1f31d9-6653-46a6-46be-08d98293482a X-MS-TrafficTypeDiagnostic: PA4PR01MB7790: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2958; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: t5TedXckDSvdFWdJdJHXWyvSUAUNtfxDi+rPXUJmiHAe52bZb/vSGQXjJJuuPFvxJlTon+dsRShGLSse3R17BpxsX1fhOdvveX6WgzO6P2bJPE+Aw0OuwX+LdYkZMe5SiXxB4jauCVJvhla0fBdrNyxJeFVObnpO7YyhqfcszMvBMCWScuw7ARBAMG4aWP96MT6JD2YcW5McBQW1zelV/AzwKouTygLetS9ciCZaJlA8t3z7jOlAgf+4xsj/VhZJR7v+rs2Rx3CeOCFECiVVRXgBI+gi4Nc39F7iGkGZA4vOuglN9BuZF+BulxLmlpJhsgq4kTMcejWOrCe8RIxvOddNrmvSFXfSBkciiJkjyoZ/nNFjuk2AOmSVE3joaYdrHxlBEAJInuavfauR2uyxABIDfvm86jyT3fX0NGQeNoUy79ogM/gfhkD0aI6wmnYpviCUdimf/i6GpgOxnQm5xFdq+9n8k7+o0OaScAO+ZPyrWNLQq8rJDHddDVE+EXBPcOEMVxsEp4tRSLnNJKKpopx3c6bBvP71TDrM21vLtJQb8PKoL7gN9ynlOYVWhVrE6cbYJXh0KKZvM/UB4bt+Qloftk3Qp9T7s2Q+Mu6KXZxZGpyWDEuG040/fv2cXfDuKx65ct67T+a8bH+3TyeyPr9RsZ5J5Eykynt0SG6hfVzXPWAWQ/74YssCu7WEAdssJJQwV0TloA5jdP4I0jHsjAYwaPWMe6Lp/Fc8FAGrqz4= X-Forefront-Antispam-Report: CIP:151.1.184.193; CTRY:IT; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:asas054.asem.intra; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(46966006)(36840700001)(356005)(36860700001)(316002)(110136005)(83380400001)(47076005)(508600001)(54906003)(70206006)(6666004)(70586007)(81166007)(107886003)(2616005)(26005)(4326008)(186003)(5660300002)(1076003)(8936002)(2906002)(336012)(8676002)(82310400003)(86362001)(36756003)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: asem.it X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Sep 2021 15:18:53.1119 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4a1f31d9-6653-46a6-46be-08d98293482a X-MS-Exchange-CrossTenant-Id: d0a766c6-7992-4344-a4a2-a467a7bb1ed2 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=d0a766c6-7992-4344-a4a2-a467a7bb1ed2; Ip=[151.1.184.193]; Helo=[asas054.asem.intra] X-MS-Exchange-CrossTenant-AuthSource: VE1EUR01FT046.eop-EUR01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR01MB7790 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210928_081900_624101_5F0557E8 X-CRM114-Status: GOOD ( 11.88 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Alignment should match open parenthesis. Signed-off-by: Flavio Suligoi --- drivers/dma/imx-sdma.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c index 726076683400..7b3bd3608651 100644 --- a/drivers/dma/imx-sdma.c +++ b/drivers/dma/imx-sdma.c @@ -1241,7 +1241,7 @@ static int sdma_config_channel(struct dma_chan *chan) } static int sdma_set_channel_priority(struct sdma_channel *sdmac, - unsigned int priority) + unsigned int priority) { struct sdma_engine *sdma = sdmac->sdma; int channel = sdmac->channel; @@ -1261,7 +1261,7 @@ static int sdma_request_channel0(struct sdma_engine *sdma) int ret = -EBUSY; sdma->bd0 = dma_alloc_coherent(sdma->dev, PAGE_SIZE, &sdma->bd0_phys, - GFP_NOWAIT); + GFP_NOWAIT); if (!sdma->bd0) { ret = -ENOMEM; goto out; @@ -1284,7 +1284,7 @@ static int sdma_alloc_bd(struct sdma_desc *desc) int ret = 0; desc->bd = dma_alloc_coherent(desc->sdmac->sdma->dev, bd_size, - &desc->bd_phys, GFP_NOWAIT); + &desc->bd_phys, GFP_NOWAIT); if (!desc->bd) { ret = -ENOMEM; goto out; @@ -1757,7 +1757,7 @@ static void sdma_issue_pending(struct dma_chan *chan) #define SDMA_SCRIPT_ADDRS_ARRAY_SIZE_V4 46 static void sdma_add_scripts(struct sdma_engine *sdma, - const struct sdma_script_start_addrs *addr) + const struct sdma_script_start_addrs *addr) { s32 *addr_arr = (u32 *)addr; s32 *saddr_arr = (u32 *)sdma->script_addrs; @@ -1840,8 +1840,8 @@ static void sdma_load_firmware(const struct firmware *fw, void *context) clk_enable(sdma->clk_ahb); /* download the RAM image for SDMA */ sdma_load_script(sdma, ram_code, - header->ram_code_size, - addr->ram_code_start_addr); + header->ram_code_size, + addr->ram_code_start_addr); clk_disable(sdma->clk_ipg); clk_disable(sdma->clk_ahb); @@ -1850,8 +1850,8 @@ static void sdma_load_firmware(const struct firmware *fw, void *context) sdma->fw_loaded = true; dev_info(sdma->dev, "loaded firmware %d.%d\n", - header->version_major, - header->version_minor); + header->version_major, + header->version_minor); err_firmware: release_firmware(fw); From patchwork Tue Sep 28 15:18:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Flavio Suligoi X-Patchwork-Id: 12523101 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B6F54C433FE for ; Tue, 28 Sep 2021 15:21:41 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 843046101E for ; Tue, 28 Sep 2021 15:21:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 843046101E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=asem.it Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Wek5Ywswxj9ZrqJ62Xf+BuaVruYMUG8BRw9CrqVnye8=; b=qBneKUMKdCyyY9 sKU0jWkIWfyaBaCmLiYz6tCEv0XcuVr1PdBqosOAqxYgxxhc1zqVVn3nmTMS7ZCte6UEvdSsZTDAJ 62/oAJP82Fph8dKkpeWCqciU85NBjVM/Z6jRtarGstO8nqDoPa5siFnQSCV9c0Q4BXhgUopQI1s3I uLl4CS81maC2waMlzR+L5uLOPdLiZ1MOZTFTZrrF0gsTa87EF5IgpjRtUgFVQnnscSX46SS0HXAXS FuvnF9CzduBld7cItsA9avosKu2q4FoJg3ybqy7ROFLXFZw2Ge8P4Fq3wMnZsE4nU1qyW5PetdJ5r LIPDoBRnih22N8g/2+kw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mVEtE-007jvB-IS; Tue, 28 Sep 2021 15:19:28 +0000 Received: from mail-db8eur05on2060.outbound.protection.outlook.com ([40.107.20.60] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mVEsm-007jpe-Hu for linux-arm-kernel@lists.infradead.org; Tue, 28 Sep 2021 15:19:01 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g9J3oCHHebQAudIkQKaxGV2VAp/td7SrQ1tcNFymJDD77YJFf9RRr0DKduozx52r32CPLcOCl9rS3VMNx6krJaYQJUXG5DLR+faLmLEQ/ScMdGs/XHDlX9jWFfTGTqIuQO3V9+AgMnoaanli1/ZafvYYLecEFzZkXX0fEYvDgAOryIOUXDeCFE2ubYcEjUalXoDuERBRVU0zUZGTa4lfqQ/BYWyxCASBaTZvhlMcsHl4W/1eHb38NScCdIsNE23VkTQuaUKkL1pI8M0yAF/bwYZo6VTl99+opiD2y2RDecUbpqyvjDfhd7nvslR9GCQ14sSvQi3DqXoXKWy0gtdjkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=g4QWkTVS1FnXHgzMMRvfhNElA52or+CUNSVpMmYLj9w=; b=S6rbYymZpKqpWZISPq0Lx1Aw9chDt0y+pCafhvjr6rPVvUP6D5zMM+r4xw+79WcWcAyv6Q99Y3VFcxr3uyhYwTK1KQS4vMzqPNU2fvNjIyg8cUkcp5AW79cdjOx/Ur2nx1puymdPi7qWIR1xzeJoJULE8gvZn2ffUTYitzv7xBWRjrv8k0cXOKQvL6MFwA+NVFGDns0hkd6+dbHnpIPS7ZIieUgVBUClUqgf6P/DgECt26i3TGsEvNDJNw+h1CMukx3ubO9eSNnj9NpRC8OsETSxPX7IQ62DFWwGnJ1d+gxEiyKrrICRTzKXWcQ2oOhh0n/3gwwajY+5++tuGM7KBw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=permerror (sender ip is 151.1.184.193) smtp.rcpttodomain=lists.infradead.org smtp.mailfrom=asem.it; dmarc=fail (p=none sp=none pct=100) action=none header.from=asem.it; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=asem.it; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=g4QWkTVS1FnXHgzMMRvfhNElA52or+CUNSVpMmYLj9w=; b=Lt7hmsbODhUIteRpbLfoGxIfxHg4OfH3zQ0XYKx/+888cPR54rXBU+RcooM4fHy6F3e7RsSgXDaIvW2M9TIswRlp/J0Q1JAzfIS6noAeHuNeVoTP/CcM/CvTMLcC2XL4Mz2QuhAqa4QKjonNKe5VWzkzKnEVEGJOzTt8VZBIiCM= Received: from AM5PR0502CA0019.eurprd05.prod.outlook.com (2603:10a6:203:91::29) by AM0PR01MB6514.eurprd01.prod.exchangelabs.com (2603:10a6:20b:16c::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.14; Tue, 28 Sep 2021 15:18:53 +0000 Received: from VE1EUR01FT046.eop-EUR01.prod.protection.outlook.com (2603:10a6:203:91:cafe::5e) by AM5PR0502CA0019.outlook.office365.com (2603:10a6:203:91::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.14 via Frontend Transport; Tue, 28 Sep 2021 15:18:53 +0000 X-MS-Exchange-Authentication-Results: spf=permerror (sender IP is 151.1.184.193) smtp.mailfrom=asem.it; lists.infradead.org; dkim=none (message not signed) header.d=none;lists.infradead.org; dmarc=fail action=none header.from=asem.it; Received-SPF: PermError (protection.outlook.com: domain of asem.it used an invalid SPF mechanism) Received: from asas054.asem.intra (151.1.184.193) by VE1EUR01FT046.mail.protection.outlook.com (10.152.3.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.13 via Frontend Transport; Tue, 28 Sep 2021 15:18:53 +0000 Received: from flavio-x.asem.intra ([172.16.17.208]) by asas054.asem.intra with Microsoft SMTPSVC(10.0.14393.0); Tue, 28 Sep 2021 17:18:51 +0200 From: Flavio Suligoi To: Vinod Koul , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Pengutronix Kernel Team , NXP Linux Team , dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Flavio Suligoi Subject: [PATCH 4/4] dmaengine: imx-sdma: remove space after sizeof Date: Tue, 28 Sep 2021 17:18:33 +0200 Message-Id: <20210928151833.589843-4-f.suligoi@asem.it> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210928151833.589843-1-f.suligoi@asem.it> References: <20210928151833.589843-1-f.suligoi@asem.it> MIME-Version: 1.0 X-OriginalArrivalTime: 28 Sep 2021 15:18:51.0142 (UTC) FILETIME=[2476AA60:01D7B47C] X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 550a89ec-76e6-4ca0-3a22-08d98293487f X-MS-TrafficTypeDiagnostic: AM0PR01MB6514: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1360; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: w/ZyywS9hnAsSovXk7ZcViOoJynE9Aeh3fWNMHh7/+1+ycyr19o/fIaoI8hydGy0Cykr/F8vasN09iKme5fFl5scetcv0DZi+ooAi+KjMDJEnbmzgpd8sl3UD/U2YfVOhIr0WlZwVaUU0tk8QymfJ9Y3Qy57UsWF2ZgqTXhpyn5SaUU6jSJLeqPqlBoFUq/U7STk6fbeMRucTyP+Vcu/Z9Tb/iYIozVaFWCISux5nQ7pF4nHi40vP4oqa1EVgZel/7i9U0+Joo/t++Pqgwil/tp9pd62/M5HsT0x+r5QOqbCgebEb8rdaUSADSFhX3QJKJarMECYydNTXJ59YTmJN9fvDfqDokLBCALDK0pkbHygHL43XvNQ/xCF0yFwDUZCvYtwcY+IOLbOzyLjhT2pPrLgur8Tko38o77P1hqrtkrcqb663MQlZMnVbr+b1AQsEpaJOKjUnZTuPq+7dcmf8QYtgGa7plkspEF7ySLTO0nJgv2bK2OGUuOju33T2ZV1TlM3mIsFf1grUizOXOZe88VFM3MI9m7+Xti/bJxcQea1JMALzG7PeUlB3OmROi3/b+3e2DwiPGYim8JnXMBjgPJuGksLjoASjBlBb5wNMbt7yN70tfWnNyk44Gc/64LTqY/VSKyE1IH6LDbYPIDE//y/vxKmX7Kk5AU8qU+CpTqZjBV6UcRdn0oD3ad0JADXmWot502Hzw57tG7VNasQHer90yr7KEmbGlJpYo/HEXQ= X-Forefront-Antispam-Report: CIP:151.1.184.193; CTRY:IT; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:asas054.asem.intra; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(46966006)(36840700001)(4326008)(8936002)(47076005)(110136005)(8676002)(107886003)(508600001)(36860700001)(36756003)(316002)(86362001)(356005)(83380400001)(81166007)(1076003)(2616005)(5660300002)(2906002)(54906003)(6666004)(70586007)(186003)(26005)(70206006)(336012)(82310400003)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: asem.it X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Sep 2021 15:18:53.6667 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 550a89ec-76e6-4ca0-3a22-08d98293487f X-MS-Exchange-CrossTenant-Id: d0a766c6-7992-4344-a4a2-a467a7bb1ed2 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=d0a766c6-7992-4344-a4a2-a467a7bb1ed2; Ip=[151.1.184.193]; Helo=[asas054.asem.intra] X-MS-Exchange-CrossTenant-AuthSource: VE1EUR01FT046.eop-EUR01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR01MB6514 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210928_081900_617324_96AF1D39 X-CRM114-Status: GOOD ( 10.21 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Space prohibited between function name and open parenthesis '(' Signed-off-by: Flavio Suligoi --- drivers/dma/imx-sdma.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c index 7b3bd3608651..75ec0754d4ad 100644 --- a/drivers/dma/imx-sdma.c +++ b/drivers/dma/imx-sdma.c @@ -1955,7 +1955,7 @@ static int sdma_init(struct sdma_engine *sdma) writel_relaxed(0, sdma->regs + SDMA_H_C0PTR); sdma->channel_control = dma_alloc_coherent(sdma->dev, - MAX_DMA_CHANNELS * sizeof (struct sdma_channel_control) + + MAX_DMA_CHANNELS * sizeof(struct sdma_channel_control) + sizeof(struct sdma_context_data), &ccb_phys, GFP_KERNEL); @@ -1965,9 +1965,9 @@ static int sdma_init(struct sdma_engine *sdma) } sdma->context = (void *)sdma->channel_control + - MAX_DMA_CHANNELS * sizeof (struct sdma_channel_control); + MAX_DMA_CHANNELS * sizeof(struct sdma_channel_control); sdma->context_phys = ccb_phys + - MAX_DMA_CHANNELS * sizeof (struct sdma_channel_control); + MAX_DMA_CHANNELS * sizeof(struct sdma_channel_control); /* disable all channels */ for (i = 0; i < sdma->drvdata->num_events; i++)