Message ID | 20210928151833.589843-2-f.suligoi@asem.it (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=7ONh=OS=lists.infradead.org=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@kernel.org> 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 <linux-arm-kernel@archiver.kernel.org>; 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 <linux-arm-kernel@archiver.kernel.org>; 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 <f.suligoi@asem.it> To: Vinod Koul <vkoul@kernel.org>, Shawn Guo <shawnguo@kernel.org>, Sascha Hauer <s.hauer@pengutronix.de>, Fabio Estevam <festevam@gmail.com> Cc: Pengutronix Kernel Team <kernel@pengutronix.de>, NXP Linux Team <linux-imx@nxp.com>, dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Flavio Suligoi <f.suligoi@asem.it> 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: <PA4PR01MB787227E39A2E0816057F9339F9A89@PA4PR01MB7872.eurprd01.prod.exchangelabs.com> 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: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
[1/4] dmaengine: imx-sdma: remove useless braces
|
expand
|
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;
The "if" conditional statement is not a single statement, so both branches require braces. Signed-off-by: Flavio Suligoi <f.suligoi@asem.it> --- drivers/dma/imx-sdma.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)