Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp732552rdg; Thu, 10 Aug 2023 19:08:08 -0700 (PDT) X-Google-Smtp-Source: AGHT+IENqUHGYkJGsieQJ+z+gUTDAX0ahN5mT+j/xp3+Rero2NJ90Nh7EMcA8UehSLShg3kpbYv4 X-Received: by 2002:a17:906:53d0:b0:99c:55a9:3925 with SMTP id p16-20020a17090653d000b0099c55a93925mr488196ejo.24.1691719688133; Thu, 10 Aug 2023 19:08:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691719688; cv=none; d=google.com; s=arc-20160816; b=NcRGv5vj+nL/JsEVgfRcbY4ysv1uR0/JcNUdMmMkC0w9YGOHZBgarr+GMWaRS53MZO 4TDiNbxlqoxdheRH8Rrg9nHAbGbOcfOPDMbEquOuQr5AZ1dl3FijV4Ubt8lLjyiUpMNt JG8IeSm4Gyk6g5K4fexQSodMovUbSsz0fWT6aHEaIgF/adQa+7Ty+Y5zzBeiZp01kiK1 t7QB7lzR+Nn0E8rZrn6dvix+uo4xMVjREKfeChbBmkHKGSrDcQOZ9o5AjXXzNcuBbgyE EtjKR7bB8gNmPOsGA/+bz0QupY7KtzxiK72W24PcZR/9pxzwR1lRhf6BKGRPWUmSUNlz t/Lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=WsGINFaQkrvpNCCBJbhJiZKV0ve2B2K7wTIKL2Xm820=; fh=TyU66mdynCT4dxdRyz6g2OwyNlg41+Y15zmOCXn2u4A=; b=sesnUuZtpDy44hOYk9OvsvsEu7++evGXFpACxC/3g9kZWK6L0WLfiG6eN780Qk+T1W 4PJm3env3tfBeEtfQtJXXrvhJ5+JSSTza8/Kdh7cBOtnLL4QLfItrD0N2A/J5ijiQtN6 PCcaUH6sKkuFiSbXCLXEm9H8oWyrwSHO6CN8qH9IvHNVuSfQQTfBfPctUb9CxLS9aTZC l6NgdJC1oI4HCP0p2VBTEErk3Hxai7LERbya98KjRX5hIP5QemJJjhpC1wht4ftl0893 mmTI6rtvqDAijexlWZ/dQaUw1JxNLlQj7vohCMNtOT63qpY2WZkCpjvS9UX0+BtzPDdl eH7w== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i13-20020a1709064ecd00b009874409d1e9si2655097ejv.200.2023.08.10.19.07.43; Thu, 10 Aug 2023 19:08:08 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230172AbjHKBey (ORCPT + 99 others); Thu, 10 Aug 2023 21:34:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229468AbjHKBex (ORCPT ); Thu, 10 Aug 2023 21:34:53 -0400 Received: from out30-119.freemail.mail.aliyun.com (out30-119.freemail.mail.aliyun.com [115.124.30.119]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62BB52D54 for ; Thu, 10 Aug 2023 18:34:52 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R181e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046051;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=3;SR=0;TI=SMTPD_---0VpVG78-_1691717688; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VpVG78-_1691717688) by smtp.aliyun-inc.com; Fri, 11 Aug 2023 09:34:49 +0800 From: Yang Li To: jassisinghbrar@gmail.com Cc: linux-kernel@vger.kernel.org, Yang Li Subject: [PATCH -next] mailbox: bcm-pdc: Fix some kernel-doc comments Date: Fri, 11 Aug 2023 09:34:48 +0800 Message-Id: <20230811013448.115153-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL 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 Fix some kernel-doc comments to silence the warnings: drivers/mailbox/bcm-pdc-mailbox.c:707: warning: Function parameter or member 'pdcs' not described in 'pdc_tx_list_sg_add' drivers/mailbox/bcm-pdc-mailbox.c:707: warning: Excess function parameter 'spu_idx' description in 'pdc_tx_list_sg_add' drivers/mailbox/bcm-pdc-mailbox.c:875: warning: Function parameter or member 'pdcs' not described in 'pdc_rx_list_sg_add' drivers/mailbox/bcm-pdc-mailbox.c:875: warning: Excess function parameter 'spu_idx' description in 'pdc_rx_list_sg_add' drivers/mailbox/bcm-pdc-mailbox.c:966: warning: Function parameter or member 't' not described in 'pdc_tasklet_cb' drivers/mailbox/bcm-pdc-mailbox.c:966: warning: Excess function parameter 'data' description in 'pdc_tasklet_cb' Signed-off-by: Yang Li --- drivers/mailbox/bcm-pdc-mailbox.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mailbox/bcm-pdc-mailbox.c b/drivers/mailbox/bcm-pdc-mailbox.c index 8c95e3ce295f..5401b9e3f5e8 100644 --- a/drivers/mailbox/bcm-pdc-mailbox.c +++ b/drivers/mailbox/bcm-pdc-mailbox.c @@ -694,7 +694,7 @@ pdc_receive(struct pdc_state *pdcs) * pdc_tx_list_sg_add() - Add the buffers in a scatterlist to the transmit * descriptors for a given SPU. The scatterlist buffers contain the data for a * SPU request message. - * @spu_idx: The index of the SPU to submit the request to, [0, max_spu) + * @pdcs: PDC state for the SPU that will process this request * @sg: Scatterlist whose buffers contain part of the SPU request * * If a scatterlist buffer is larger than PDC_DMA_BUF_MAX, multiple descriptors @@ -861,7 +861,7 @@ static int pdc_rx_list_init(struct pdc_state *pdcs, struct scatterlist *dst_sg, * pdc_rx_list_sg_add() - Add the buffers in a scatterlist to the receive * descriptors for a given SPU. The caller must have already DMA mapped the * scatterlist. - * @spu_idx: Indicates which SPU the buffers are for + * @pdcs: PDC state for the SPU that will process this request * @sg: Scatterlist whose buffers are added to the receive ring * * If a receive buffer in the scatterlist is larger than PDC_DMA_BUF_MAX, @@ -960,7 +960,7 @@ static irqreturn_t pdc_irq_handler(int irq, void *data) /** * pdc_tasklet_cb() - Tasklet callback that runs the deferred processing after * a DMA receive interrupt. Reenables the receive interrupt. - * @data: PDC state structure + * @t: Pointer to the Altera sSGDMA channel structure */ static void pdc_tasklet_cb(struct tasklet_struct *t) { -- 2.20.1.7.g153144c