* [PATCH] clk: sifive: Fix kernel-doc
@ 2021-05-24 10:22 Yang Li
2021-05-29 23:08 ` Palmer Dabbelt
2021-06-02 6:39 ` Stephen Boyd
0 siblings, 2 replies; 3+ messages in thread
From: Yang Li @ 2021-05-24 10:22 UTC (permalink / raw)
To: mturquette
Cc: sboyd, palmer, paul.walmsley, linux-clk, linux-riscv,
linux-kernel, Yang Li
Fix function name in sifive-prci.c kernel-doc comment
to remove a warning.
drivers/clk/sifive/sifive-prci.c:573: warning: expecting prototype for
sifive_prci_init(). Prototype was for sifive_prci_probe() instead
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
drivers/clk/sifive/sifive-prci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/sifive/sifive-prci.c b/drivers/clk/sifive/sifive-prci.c
index 0d79ba3..80a288c 100644
--- a/drivers/clk/sifive/sifive-prci.c
+++ b/drivers/clk/sifive/sifive-prci.c
@@ -564,7 +564,7 @@ static int __prci_register_clocks(struct device *dev, struct __prci_data *pd,
}
/**
- * sifive_prci_init() - initialize prci data and check parent count
+ * sifive_prci_probe() - initialize prci data and check parent count
* @pdev: platform device pointer for the prci
*
* Return: 0 upon success or a negative error code upon failure.
--
1.8.3.1
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] clk: sifive: Fix kernel-doc
2021-05-24 10:22 [PATCH] clk: sifive: Fix kernel-doc Yang Li
@ 2021-05-29 23:08 ` Palmer Dabbelt
2021-06-02 6:39 ` Stephen Boyd
1 sibling, 0 replies; 3+ messages in thread
From: Palmer Dabbelt @ 2021-05-29 23:08 UTC (permalink / raw)
To: yang.lee
Cc: mturquette, sboyd, Paul Walmsley, linux-clk, linux-riscv,
linux-kernel, yang.lee
On Mon, 24 May 2021 03:22:10 PDT (-0700), yang.lee@linux.alibaba.com wrote:
> Fix function name in sifive-prci.c kernel-doc comment
> to remove a warning.
>
> drivers/clk/sifive/sifive-prci.c:573: warning: expecting prototype for
> sifive_prci_init(). Prototype was for sifive_prci_probe() instead
>
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
> ---
> drivers/clk/sifive/sifive-prci.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/clk/sifive/sifive-prci.c b/drivers/clk/sifive/sifive-prci.c
> index 0d79ba3..80a288c 100644
> --- a/drivers/clk/sifive/sifive-prci.c
> +++ b/drivers/clk/sifive/sifive-prci.c
> @@ -564,7 +564,7 @@ static int __prci_register_clocks(struct device *dev, struct __prci_data *pd,
> }
>
> /**
> - * sifive_prci_init() - initialize prci data and check parent count
> + * sifive_prci_probe() - initialize prci data and check parent count
> * @pdev: platform device pointer for the prci
> *
> * Return: 0 upon success or a negative error code upon failure.
Acked-by: Palmer Dabbelt <palmerdabbelt@google.com>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
I'm assuming this is targeted for the clock tree, but LMK if you want me
to take it.
Thanks!
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] clk: sifive: Fix kernel-doc
2021-05-24 10:22 [PATCH] clk: sifive: Fix kernel-doc Yang Li
2021-05-29 23:08 ` Palmer Dabbelt
@ 2021-06-02 6:39 ` Stephen Boyd
1 sibling, 0 replies; 3+ messages in thread
From: Stephen Boyd @ 2021-06-02 6:39 UTC (permalink / raw)
To: Yang Li, mturquette
Cc: palmer, paul.walmsley, linux-clk, linux-riscv, linux-kernel, Yang Li
Quoting Yang Li (2021-05-24 03:22:10)
> Fix function name in sifive-prci.c kernel-doc comment
> to remove a warning.
>
> drivers/clk/sifive/sifive-prci.c:573: warning: expecting prototype for
> sifive_prci_init(). Prototype was for sifive_prci_probe() instead
>
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
> ---
Applied to clk-next
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-06-02 6:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-24 10:22 [PATCH] clk: sifive: Fix kernel-doc Yang Li
2021-05-29 23:08 ` Palmer Dabbelt
2021-06-02 6:39 ` 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).