From patchwork Wed Jun 21 02:24:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 13286553 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 278C6EB64D7 for ; Wed, 21 Jun 2023 02:24: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: 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=diCYQ8t4ms5tVdbHAnO2u4FEwi0JtYFvgEUCgMvLd2k=; b=gF2tCbB9LJfp4L bIGlqal+JTovyjqSh0j9LArNCWEpo8G8ErFO+61rteIDR12s/lUnmxOlGmrsK8KNSfYYSCyHtbaAs MYoDigTV6EWfhfz4va+FwPzE8j0Hz9VTlK8NUzaxbijWMPo0wILdlfDD4BxIyv3mBoTkYPOXqWvXW ux1wyjGrBDx/nQIdmTQNUb5D4RZNT8Vdy30n9/IkvrarL/4OJP+N5ItA/JqHawixODnJQlJgndJjf TjPgMbS/PUrTx/2AOoNo/dtx80J3uPVef/6LpRZ4R0WL7aaiOH/ztrF/z4iSHUsmniw+8elItjJ23 GEqKr4EDvs48XbcZzzcA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qBnWG-00Cvtv-2g; Wed, 21 Jun 2023 02:24:28 +0000 Received: from lelv0143.ext.ti.com ([198.47.23.248]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qBnWE-00CvtL-0C for linux-arm-kernel@lists.infradead.org; Wed, 21 Jun 2023 02:24:27 +0000 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 35L2OFle064468; Tue, 20 Jun 2023 21:24:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1687314255; bh=ZYlHeY71zSSaGopLelEmHiU5I25wRJG/rx/hcBG+cyk=; h=From:To:CC:Subject:Date; b=NJyl3i87wYr1AakSFiJ2hPnFs0d59inI7vLAqa+aDwDdjbfZvgOd4L2XTI/+uEq+r beZHXwfMXNc3blC5DVvxhUo8jnuWU5y3FkIkjPprbkndhTlYKA4VPHJ3t2yazl/qf/ OMc6ogykZwCumpUYIukEe1CLPsZGUPg/l8nzjLBM= Received: from DLEE104.ent.ti.com (dlee104.ent.ti.com [157.170.170.34]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 35L2OFVi075009 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 20 Jun 2023 21:24:15 -0500 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 20 Jun 2023 21:24:15 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Tue, 20 Jun 2023 21:24:15 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 35L2OFHc001655; Tue, 20 Jun 2023 21:24:15 -0500 From: Nishanth Menon To: Santosh Shilimkar , Tero Kristo , Nishanth Menon CC: , , , , , Peter Ujfalusi Subject: [PATCH] soc: ti: k3-ringacc: Fixup documentation errors Date: Tue, 20 Jun 2023 21:24:07 -0500 Message-ID: <20230621022407.270842-1-nm@ti.com> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230620_192426_138142_0EEB6971 X-CRM114-Status: UNSURE ( 9.76 ) 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 Fixup couple of misses in documentation. This squashes the following warnings: drivers/soc/ti/k3-ringacc.c:135: warning: Function parameter or member 'tdown_complete' not described in 'k3_ring_state' drivers/soc/ti/k3-ringacc.c:238: warning: expecting prototype for struct k3_ringacc. Prototype was for struct k3_ringacc_soc_data instead Cc: Peter Ujfalusi Signed-off-by: Nishanth Menon Reviewed-by: Randy Dunlap --- drivers/soc/ti/k3-ringacc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/soc/ti/k3-ringacc.c b/drivers/soc/ti/k3-ringacc.c index 8f131368a758..548b9f605d86 100644 --- a/drivers/soc/ti/k3-ringacc.c +++ b/drivers/soc/ti/k3-ringacc.c @@ -125,6 +125,7 @@ struct k3_ring_ops { * @occ: Occupancy * @windex: Write index * @rindex: Read index + * @tdown_complete: Tear down complete state */ struct k3_ring_state { u32 free; @@ -229,7 +230,7 @@ struct k3_ringacc { }; /** - * struct k3_ringacc - Rings accelerator SoC data + * struct k3_ringacc_soc_data - Rings accelerator SoC data * * @dma_ring_reset_quirk: DMA reset w/a enable */