Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp8704586rwd; Tue, 20 Jun 2023 20:03:29 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4sy8eVXL7Fh9KXZFSbL+bSahA4VPi6Zq6frLjH3Bwdr4jOSRGzlaHptN4xrjZxUMl2a/HY X-Received: by 2002:a92:d090:0:b0:340:6984:cc6f with SMTP id h16-20020a92d090000000b003406984cc6fmr5072398ilh.3.1687316609126; Tue, 20 Jun 2023 20:03:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687316609; cv=none; d=google.com; s=arc-20160816; b=T/xZuFJ81qQFOs9MO6wDSCyH7EMTw6zw3we1Tyf42o5rb2bgBixUW3LI6EJKpdrbHo oz4vR95YBAGKgZUmN7OthhKyhD2GVF62wD05rMU9oxJB1LY3Njpy9F4Y06rsUoE7V2iy uLie+bHo9hFf+mwEmS2r6R434BJ06lK6uQbK/gkxFnIzXVCBhvB3jbfdflUI45GQ17Mq ue2WwVOPC4xDxQ8YtR1+4VZp63kAFmr6iaQne/L7xzNd9D/mJ2aksV6sZXj8fColz/N6 5yhhuLnYc2gbtz2HTiRMuJ2mO57EwNRDYNZm7tlSrQaZVY/jZRP3QTsRPtS3+FAhVUT3 4nPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=yrN0TSPCX1e/0XsrO5B8B1NSE+0Rtd/TbPfODXXanOM=; b=yae1pHJ7/CxdHCTH8cMGrWSH2N3J1Rfy2bW/JwczGEpOLw6PuVAptacz7OsF4YiZoI kuQsQ9kFwbB+LQ/6azi/ZrozEP0QoR66k+R8L3x8vPDL0LPwWrLRwMVRCYDWarhIwt+X 3xwN9Og2m+pLGOuLv0BPCKnv/8lsXh/WUI/L+ipuj3R0z8PCtGUQks/cJgz2lkwG32pA 52knw+hSEOXZM9Plmi+InUGcfNjvYO6X+qcsAWpIJbvbAeW6Cw/qjhSoc9rbMKBtIx3h o7d2lR9jxZkej/wF3QBbpgklZS6o43iAx9ECq68yB5Icj5BXNV/NebitKwwGHhuFevwQ KogA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=dM3m2eVs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x4-20020a17090a6c0400b00256078a4c6bsi10934061pjj.78.2023.06.20.20.03.16; Tue, 20 Jun 2023 20:03:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=dM3m2eVs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229655AbjFUCk2 (ORCPT + 99 others); Tue, 20 Jun 2023 22:40:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229522AbjFUCk0 (ORCPT ); Tue, 20 Jun 2023 22:40:26 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11E70B7 for ; Tue, 20 Jun 2023 19:40:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=yrN0TSPCX1e/0XsrO5B8B1NSE+0Rtd/TbPfODXXanOM=; b=dM3m2eVsG8+T0uYUj/ho+JzvBS wPGDFpBxWsV9ZFvS1yjycat6STbD2MRcjhwymMGjR7vEmVjPkam/E2/bh6hIFMLQzrfP2vXE0cEX/ BMp/GRcefJ2nf8OUA0mj5hJ4TBpMioNNWlPxvRkiP747oBKLwAoduWxUomelaUNDtGbKyVT1KrVwu XLeP+bly98Q85kXtUQtg1GgzTLIuQdobeDcRIDVR89y9FPhIxNXN9z8Kj+TrbeWqBXbZYBrnmWLgq 5rb5XloE2TLIqV0bivRACOEr3XyyiLlS622AAscyBdJXXFOJ3DC03IbIQb4Cby3aIUXqryjeikMdh C8BibfpQ==; Received: from [2601:1c2:980:9ec0::2764] by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qBnlf-00CyIW-1X; Wed, 21 Jun 2023 02:40:24 +0000 Message-ID: Date: Tue, 20 Jun 2023 19:40:22 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Subject: Re: [PATCH V2] soc: ti: k3-ringacc: Fixup documentation errors Content-Language: en-US To: Nishanth Menon , Santosh Shilimkar , Tero Kristo Cc: vigneshr@ti.com, praneeth@ti.com, u-kumar1@ti.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peter Ujfalusi References: <20230621023442.275128-1-nm@ti.com> From: Randy Dunlap In-Reply-To: <20230621023442.275128-1-nm@ti.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/20/23 19:34, Nishanth Menon wrote: > 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 > > While at this, replace "w/a" to indicate workaround to help clarify. > > Cc: Peter Ujfalusi > Reviewed-by: Randy Dunlap > Signed-off-by: Nishanth Menon > --- > Changes since V1: > * Fixedup a couple of places where "w/a" is used - replaced with > "workaround" to indicate quirk workaround Thanks for that. Good change. > * Picked up Randy's Reviewed-by. > > V1: https://lore.kernel.org/all/20230621022407.270842-1-nm@ti.com/ > > drivers/soc/ti/k3-ringacc.c | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/drivers/soc/ti/k3-ringacc.c b/drivers/soc/ti/k3-ringacc.c > index 8f131368a758..999403e1b9e0 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; > @@ -192,7 +193,7 @@ struct k3_ringacc_ops { > * @num_rings: number of ring in RA > * @rings_inuse: bitfield for ring usage tracking > * @rm_gp_range: general purpose rings range from tisci > - * @dma_ring_reset_quirk: DMA reset w/a enable > + * @dma_ring_reset_quirk: DMA reset workaround enable > * @num_proxies: number of RA proxies > * @proxy_inuse: bitfield for proxy usage tracking > * @rings: array of rings descriptors (struct @k3_ring) > @@ -229,9 +230,9 @@ 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 > + * @dma_ring_reset_quirk: DMA reset workaround enable > */ > struct k3_ringacc_soc_data { > unsigned dma_ring_reset_quirk:1; -- ~Randy