Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp1168121ioo; Fri, 27 May 2022 03:05:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwm8RLiNazEEoiQ3YzO4buYJFG0ei9ZqgE6i/OCZ+KypynYiZNBRfr6QJNbYYfax0xuhIAX X-Received: by 2002:a05:6a00:b41:b0:50d:35fa:476d with SMTP id p1-20020a056a000b4100b0050d35fa476dmr43283054pfo.33.1653645958222; Fri, 27 May 2022 03:05:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653645958; cv=none; d=google.com; s=arc-20160816; b=MpP5jt2gilvI8hujWCR1UBsOq0lEI9Fg7XkzKsJw/6ols4N1nPzRlo0NCp1jXCxuGX DCoWoijkgcAP7Me54qOS39U8wWr3ILhU9JiBYDnWjn9X8fznonSxj2DkmMpU2877wiZN cRSM2lZwIHvm2wJZm6vY4A4+iOpIFDK7Tmjx5JkSTgNzWdaxRfZrSGODJa2ZqyTqooNZ PGSFJlR9fgTPyRU2DzmrwjXT0bfXrIYyBk1tcgRq5lTuaGtoOD2T54MI5iZAe2oEmC/h Okh6jv6441FQXEPRXrunewCs6Bjx1Y5oO9Yvkc8jVMyHIH3SgVG1Rp8eIk9r4/Kwz9D1 w+LA== 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=wB8Ar+5BcmHmGb3+fktj0vOIBjE2ftBamnAAD3tK/6k=; b=r/rTh6727GZzVfBKRqwps6uqematNkSFXCCB5mdNgxKibgE98kwNBBwCjNvMmUOlEK lYaYsUyS9uHKkCwYYi/6W5fYcA5zvHc2xRtShMg8P/8ZElrp8M2Y7z8ZKRB2FsrxGJNx Q9B34sQHOLau2p/zvqwjBRCGEw89NmLuIpw/5lGlk4em3m4ROr+2myYINIh6rHC7ZNzN cU8jSAwaovpjQObM0LD/k/mg0NmEAGLcyd8lvH4P18phEewh6QTrAdTAtJ0MZZ9bz1cI mrNKegjUSX61lV7KNzupA9KJW7t62qNpRpe7h+MjwA8Ti5s1EjxXGxVjC8SNwj/1Z2+4 DhdA== 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 e7-20020a63db07000000b0039911b1bf43si5471238pgg.269.2022.05.27.03.05.45; Fri, 27 May 2022 03:05:58 -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 S1347449AbiEZNCD (ORCPT + 99 others); Thu, 26 May 2022 09:02:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236276AbiEZNCB (ORCPT ); Thu, 26 May 2022 09:02:01 -0400 Received: from out199-13.us.a.mail.aliyun.com (out199-13.us.a.mail.aliyun.com [47.90.199.13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4603FCFE22; Thu, 26 May 2022 06:02:00 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R211e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04357;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=8;SR=0;TI=SMTPD_---0VESMMfK_1653570115; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VESMMfK_1653570115) by smtp.aliyun-inc.com(127.0.0.1); Thu, 26 May 2022 21:01:56 +0800 From: Yang Li To: andreas.noever@gmail.com Cc: michael.jamet@intel.com, mika.westerberg@linux.intel.com, YehezkelShB@gmail.com, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] thunderbolt: Fix some kernel-doc comments Date: Thu, 26 May 2022 21:01:54 +0800 Message-Id: <20220526130154.89745-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,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, 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 Remove some warnings found by running scripts/kernel-doc, which is caused by using 'make W=1'. drivers/thunderbolt/ctl.c:701: warning: expecting prototype for tb_cfg_start(). Prototype was for tb_ctl_start() instead drivers/thunderbolt/ctl.c:722: warning: expecting prototype for tb_ctrl_stop(). Prototype was for tb_ctl_stop() instead drivers/thunderbolt/ctl.c:930: warning: expecting prototype for tb_cfg_write(). Prototype was for tb_cfg_write_raw() instead Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/thunderbolt/ctl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/thunderbolt/ctl.c b/drivers/thunderbolt/ctl.c index e92c658dba1c..e5ede5debfb0 100644 --- a/drivers/thunderbolt/ctl.c +++ b/drivers/thunderbolt/ctl.c @@ -694,7 +694,7 @@ void tb_ctl_free(struct tb_ctl *ctl) } /** - * tb_cfg_start() - start/resume the control channel + * tb_ctl_start() - start/resume the control channel * @ctl: Control channel to start */ void tb_ctl_start(struct tb_ctl *ctl) @@ -710,7 +710,7 @@ void tb_ctl_start(struct tb_ctl *ctl) } /** - * tb_ctrl_stop() - pause the control channel + * tb_ctl_stop() - pause the control channel * @ctl: Control channel to stop * * All invocations of ctl->callback will have finished after this method @@ -912,7 +912,7 @@ struct tb_cfg_result tb_cfg_read_raw(struct tb_ctl *ctl, void *buffer, } /** - * tb_cfg_write() - write from buffer into config space + * tb_cfg_write_raw() - write from buffer into config space * @ctl: Pointer to the control channel * @buffer: Data to write * @route: Route string of the router -- 2.20.1.7.g153144c