From patchwork Thu Aug 8 07:11:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herve Codina X-Patchwork-Id: 13757034 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id C7EDDC52D73 for ; Thu, 8 Aug 2024 07:23:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=lrvHrWOWhKVyILAF7ZtiWAvLgdtBWWhrCvOa0CPkMcA=; b=cP5x97qjjAcVVprum+3dwtdv2t 6oPqXH6pcx3dRs97uijM1Dr7MZ/cABVis9ZoH3K5fVcxjOSTdtd5UzS2xvFD1ZYBAjMQ4Qv1XqPF7 BK5Jh1YwPFwtJf9L3BjHVwxgya4HfIP34DEzvT4Samxv8N7DYi1yufGalLDK/1gzhTzM5hqllOk3z qDVmRG3InSRG7yCDJXoF3mshljiojz93RN12f2LwRhivRIMn3O80C5L5fhvbLeq5ayAZ5uOrzefl0 CyaSsQUAtYipPgjjiJ9HqYTrbGQImykGEI6iMEeRj51iodHjZvs9fBa6WsF1pGVQ2EpR3o7ug/v71 JpvZ1l1A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbxUp-00000007ONT-19DD; Thu, 08 Aug 2024 07:23:39 +0000 Received: from relay6-d.mail.gandi.net ([2001:4b98:dc4:8::226]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbxJV-00000007K8h-1ug1 for linux-arm-kernel@lists.infradead.org; Thu, 08 Aug 2024 07:11:59 +0000 Received: by mail.gandi.net (Postfix) with ESMTPA id DE0C6C000C; Thu, 8 Aug 2024 07:11:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1723101115; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lrvHrWOWhKVyILAF7ZtiWAvLgdtBWWhrCvOa0CPkMcA=; b=pLVpExoquveiObLx7pXqXamoPmD5qsxOVt+baRDmQ3WMIPIPIQlXwgVvk+Cd7L9ZG3FEz7 3M/+QVlLK74DGYEguG9P1I2ZEujHl55qJTIf5pm1SreHGEM698cGEWdmU9WOPj6efQzIBT 2FdyDD22xMUJYiPe0e0AfzEUH+XMb++6CRfAs8g6f1VvIy4KBzWt9srW0EyaBEgl9v42Zo yqAUX5CJFvDHQwh+NIVbfq65q3gm+8/DAQOz6tqvR5vy51g6x3HkN77NnXoBjPn8MD2VDX ZhjuZPo5WUaT33A3JcUDnak0i4dNHmoy+ow7mnr1K2KWH5o/ubFcuPYGO4bm1w== From: Herve Codina To: Herve Codina , Christophe Leroy , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Qiang Zhao , Li Yang , Mark Brown Cc: linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Thomas Petazzoni Subject: [PATCH v2 22/36] soc: fsl: cpm1: qmc: Add missing spinlock comment Date: Thu, 8 Aug 2024 09:11:15 +0200 Message-ID: <20240808071132.149251-23-herve.codina@bootlin.com> X-Mailer: git-send-email 2.45.0 In-Reply-To: <20240808071132.149251-1-herve.codina@bootlin.com> References: <20240808071132.149251-1-herve.codina@bootlin.com> MIME-Version: 1.0 X-GND-Sasl: herve.codina@bootlin.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240808_001158_119663_1814A31C X-CRM114-Status: GOOD ( 10.23 ) 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 checkpatch.pl raises the following issue CHECK: spinlock_t definition without comment Add the missing comments. Signed-off-by: Herve Codina Reviewed-by: Christophe Leroy --- drivers/soc/fsl/qe/qmc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/soc/fsl/qe/qmc.c b/drivers/soc/fsl/qe/qmc.c index 2d54d7400d2d..3736a8e4575e 100644 --- a/drivers/soc/fsl/qe/qmc.c +++ b/drivers/soc/fsl/qe/qmc.c @@ -196,7 +196,7 @@ struct qmc_chan { u64 rx_ts_mask; bool is_reverse_data; - spinlock_t tx_lock; + spinlock_t tx_lock; /* Protect Tx related data */ cbd_t __iomem *txbds; cbd_t __iomem *txbd_free; cbd_t __iomem *txbd_done; @@ -204,7 +204,7 @@ struct qmc_chan { u64 nb_tx_underrun; bool is_tx_stopped; - spinlock_t rx_lock; + spinlock_t rx_lock; /* Protect Rx related data */ cbd_t __iomem *rxbds; cbd_t __iomem *rxbd_free; cbd_t __iomem *rxbd_done;