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++)