Message ID | 20221122023826.101503-1-yang.lee@linux.alibaba.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1965176wrr; Mon, 21 Nov 2022 18:44:27 -0800 (PST) X-Google-Smtp-Source: AA0mqf7B5Y6J9aBuQYTWXhm9WYfFgmhAsVOaGmQIuJZwC/IR2fJpDohcWo+bKrNQ/KKK3GywqJqk X-Received: by 2002:a63:5819:0:b0:476:8ce9:be5d with SMTP id m25-20020a635819000000b004768ce9be5dmr3515030pgb.15.1669085066958; Mon, 21 Nov 2022 18:44:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669085066; cv=none; d=google.com; s=arc-20160816; b=jHrwhPSIa+tYjYTl2YNmIKCFPqcgodMaJcARl22FhRw2+Ig1HTP1dKDEQkZMQbFzIe ErCPmjrUj3lUMfsD8M79ddSvPKIrO67CR8FTUmo4RSRheHnYVXlT4I7i1G8/k/79zKFA u1iw1W4mktXnDY9cxqYwoBqD8918GF06RVV7aZNyiWQypUKSwXO07e0+2sqEJaV3gLTS rNd3QVy/nFo9IauAF00XVlEIYnqEgmnRLGLTYIjePV1YQyXK7qf5eixYFL/lsKgvX1rw YP/TDXIq/LQb7olz+NSrj4TIMjo0XcR6brI6HQ6dLLuM+dv/Gt7M4FX041EurxEgqbkn 2fyg== 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=f3vIiRHuUeDVAqFfRXBSRndI8R75nAOYauKcDM6uCUQ=; b=v8EHsI2glAPwNubVOlDWMnfSACBWT3rIACdifuLWB82MNxNgbn6jJKCF9OANhcYWVN sk53eLLcAJKQroKzLIq2NjkJWNs32isfsvBwN3Q7KaCR80DdCVmv1dTjiiUkSBY9dZR7 IYvIO+Lci7FNxjJIoiXS2vZyOuIl56ltYzPp9FXSfW6dIRBtnK+udKQj4fbxaKEyQKv6 YMlR5bDH8M0F6D9/chfqVout7cmEam2yzXnGhCx1ZKC8QRT23kg0qs6y/z/333IdVPQM Qwrcr2hAiXducZTdlj1Co/5zPutq0izDERchFS+ZsHfHrFyuZaM0vdRedR0KsshrE5ol pmfw== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c17-20020a6566d1000000b00476e63cf8a4si13542327pgw.129.2022.11.21.18.44.13; Mon, 21 Nov 2022 18:44:26 -0800 (PST) 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 S231954AbiKVCiz (ORCPT <rfc822;cjcooper78@gmail.com> + 99 others); Mon, 21 Nov 2022 21:38:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35738 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232040AbiKVCik (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 21 Nov 2022 21:38:40 -0500 Received: from out30-43.freemail.mail.aliyun.com (out30-43.freemail.mail.aliyun.com [115.124.30.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7AC882BD9; Mon, 21 Nov 2022 18:38:32 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R151e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045170;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=12;SR=0;TI=SMTPD_---0VVQ5k.6_1669084708; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VVQ5k.6_1669084708) by smtp.aliyun-inc.com; Tue, 22 Nov 2022 10:38:29 +0800 From: Yang Li <yang.lee@linux.alibaba.com> To: mturquette@baylibre.com Cc: rdunlap@infradead.org, sboyd@kernel.org, wens@csie.org, jernej.skrabec@gmail.com, samuel@sholland.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Yang Li <yang.lee@linux.alibaba.com>, Abaci Robot <abaci@linux.alibaba.com> Subject: [PATCH -next v2] clk: Fix one kernel-doc comment Date: Tue, 22 Nov 2022 10:38:26 +0800 Message-Id: <20221122023826.101503-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,RCVD_IN_MSPIKE_H2, 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750162543397181909?= X-GMAIL-MSGID: =?utf-8?q?1750162543397181909?= |
Series |
[-next,v2] clk: Fix one kernel-doc comment
|
|
Commit Message
Yang Li
Nov. 22, 2022, 2:38 a.m. UTC
drivers/clk/sunxi-ng/ccu_mmc_timing.c:54: warning: expecting prototype for sunxi_ccu_set_mmc_timing_mode(). Prototype was for sunxi_ccu_get_mmc_timing_mode() instead
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3230
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
change in v2:
--According to Randy's suggestion, use the '-' replace ':' to separate function name and description.
drivers/clk/sunxi-ng/ccu_mmc_timing.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
Hi-- On 11/21/22 18:38, Yang Li wrote: > drivers/clk/sunxi-ng/ccu_mmc_timing.c:54: warning: expecting prototype for sunxi_ccu_set_mmc_timing_mode(). Prototype was for sunxi_ccu_get_mmc_timing_mode() instead > > Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3230 > Reported-by: Abaci Robot <abaci@linux.alibaba.com> > Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> This looks good, although this file needs more work in a few places. Acked-by: Randy Dunlap <rdunlap@infradead.org> Thanks. > --- > > change in v2: > --According to Randy's suggestion, use the '-' replace ':' to separate function name and description. > > drivers/clk/sunxi-ng/ccu_mmc_timing.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/clk/sunxi-ng/ccu_mmc_timing.c b/drivers/clk/sunxi-ng/ccu_mmc_timing.c > index de33414fc5c2..88c456a8e49b 100644 > --- a/drivers/clk/sunxi-ng/ccu_mmc_timing.c > +++ b/drivers/clk/sunxi-ng/ccu_mmc_timing.c > @@ -43,7 +43,7 @@ int sunxi_ccu_set_mmc_timing_mode(struct clk *clk, bool new_mode) > EXPORT_SYMBOL_GPL(sunxi_ccu_set_mmc_timing_mode); > > /** > - * sunxi_ccu_set_mmc_timing_mode: Get the current MMC clock timing mode > + * sunxi_ccu_get_mmc_timing_mode - Get the current MMC clock timing mode > * @clk: clock to query > * > * Returns 0 if the clock is in old timing mode, > 0 if it is in
Quoting Yang Li (2022-11-21 18:38:26) > drivers/clk/sunxi-ng/ccu_mmc_timing.c:54: warning: expecting prototype for sunxi_ccu_set_mmc_timing_mode(). Prototype was for sunxi_ccu_get_mmc_timing_mode() instead > > Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3230 > Reported-by: Abaci Robot <abaci@linux.alibaba.com> > Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> > --- Reviewed-by: Stephen Boyd <sboyd@kernel.org>
diff --git a/drivers/clk/sunxi-ng/ccu_mmc_timing.c b/drivers/clk/sunxi-ng/ccu_mmc_timing.c index de33414fc5c2..88c456a8e49b 100644 --- a/drivers/clk/sunxi-ng/ccu_mmc_timing.c +++ b/drivers/clk/sunxi-ng/ccu_mmc_timing.c @@ -43,7 +43,7 @@ int sunxi_ccu_set_mmc_timing_mode(struct clk *clk, bool new_mode) EXPORT_SYMBOL_GPL(sunxi_ccu_set_mmc_timing_mode); /** - * sunxi_ccu_set_mmc_timing_mode: Get the current MMC clock timing mode + * sunxi_ccu_get_mmc_timing_mode - Get the current MMC clock timing mode * @clk: clock to query * * Returns 0 if the clock is in old timing mode, > 0 if it is in