* [PATCH -next v2] clk: Fix one kernel-doc comment
@ 2022-11-22 2:38 Yang Li
2022-11-22 4:25 ` Randy Dunlap
2022-11-23 1:48 ` Stephen Boyd
0 siblings, 2 replies; 3+ messages in thread
From: Yang Li @ 2022-11-22 2:38 UTC (permalink / raw)
To: mturquette
Cc: rdunlap, sboyd, wens, jernej.skrabec, samuel, linux-clk,
linux-arm-kernel, linux-sunxi, linux-kernel, Yang Li, Abaci Robot
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(-)
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
--
2.20.1.7.g153144c
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH -next v2] clk: Fix one kernel-doc comment
2022-11-22 2:38 [PATCH -next v2] clk: Fix one kernel-doc comment Yang Li
@ 2022-11-22 4:25 ` Randy Dunlap
2022-11-23 1:48 ` Stephen Boyd
1 sibling, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2022-11-22 4:25 UTC (permalink / raw)
To: Yang Li, mturquette
Cc: sboyd, wens, jernej.skrabec, samuel, linux-clk, linux-arm-kernel,
linux-sunxi, linux-kernel, Abaci Robot
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
--
~Randy
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH -next v2] clk: Fix one kernel-doc comment
2022-11-22 2:38 [PATCH -next v2] clk: Fix one kernel-doc comment Yang Li
2022-11-22 4:25 ` Randy Dunlap
@ 2022-11-23 1:48 ` Stephen Boyd
1 sibling, 0 replies; 3+ messages in thread
From: Stephen Boyd @ 2022-11-23 1:48 UTC (permalink / raw)
To: Yang Li, mturquette
Cc: rdunlap, wens, jernej.skrabec, samuel, linux-clk,
linux-arm-kernel, linux-sunxi, linux-kernel, Yang Li, Abaci Robot
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>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-11-23 1:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-22 2:38 [PATCH -next v2] clk: Fix one kernel-doc comment Yang Li
2022-11-22 4:25 ` Randy Dunlap
2022-11-23 1:48 ` Stephen Boyd
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).