public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] clk: Gemini: fix struct name in kernel-doc
@ 2021-11-20  6:27 Randy Dunlap
  2021-11-20 11:48 ` Linus Walleij
  2021-12-03  1:28 ` Stephen Boyd
  0 siblings, 2 replies; 3+ messages in thread
From: Randy Dunlap @ 2021-11-20  6:27 UTC (permalink / raw)
  To: linux-kernel
  Cc: Linus Walleij, Michael Turquette, Stephen Boyd, Randy Dunlap,
	kernel test robot, linux-clk

Fix a typo in the struct name in the kernel-doc notation so that
kernel-doc won't complain about it.

Fixes this warning:

drivers/clk/clk-gemini.c:64: warning: expecting prototype for struct gemini_data_data. Prototype was for struct gemini_gate_data instead

Fixes: 846423f96721 ("clk: Add Gemini SoC clock controller")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kernel test robot <lkp@intel.com>
Cc: linux-clk@vger.kernel.org
---
 drivers/clk/clk-gemini.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20211118.orig/drivers/clk/clk-gemini.c
+++ linux-next-20211118/drivers/clk/clk-gemini.c
@@ -50,7 +50,7 @@ static DEFINE_SPINLOCK(gemini_clk_lock);
 #define PCI_DLL_TAP_SEL_MASK		0x1f
 
 /**
- * struct gemini_data_data - Gemini gated clocks
+ * struct gemini_gate_data - Gemini gated clocks
  * @bit_idx: the bit used to gate this clock in the clock register
  * @name: the clock name
  * @parent_name: the name of the parent clock

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] clk: Gemini: fix struct name in kernel-doc
  2021-11-20  6:27 [PATCH] clk: Gemini: fix struct name in kernel-doc Randy Dunlap
@ 2021-11-20 11:48 ` Linus Walleij
  2021-12-03  1:28 ` Stephen Boyd
  1 sibling, 0 replies; 3+ messages in thread
From: Linus Walleij @ 2021-11-20 11:48 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: linux-kernel, Michael Turquette, Stephen Boyd, kernel test robot,
	linux-clk

On Sat, Nov 20, 2021 at 7:27 AM Randy Dunlap <rdunlap@infradead.org> wrote:

> Fix a typo in the struct name in the kernel-doc notation so that
> kernel-doc won't complain about it.
>
> Fixes this warning:
>
> drivers/clk/clk-gemini.c:64: warning: expecting prototype for struct gemini_data_data. Prototype was for struct gemini_gate_data instead
>
> Fixes: 846423f96721 ("clk: Add Gemini SoC clock controller")
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Reported-by: kernel test robot <lkp@intel.com>
> Cc: linux-clk@vger.kernel.org

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] clk: Gemini: fix struct name in kernel-doc
  2021-11-20  6:27 [PATCH] clk: Gemini: fix struct name in kernel-doc Randy Dunlap
  2021-11-20 11:48 ` Linus Walleij
@ 2021-12-03  1:28 ` Stephen Boyd
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen Boyd @ 2021-12-03  1:28 UTC (permalink / raw)
  To: Randy Dunlap, linux-kernel
  Cc: Linus Walleij, Michael Turquette, Randy Dunlap, kernel test robot,
	linux-clk

Quoting Randy Dunlap (2021-11-19 22:27:19)
> Fix a typo in the struct name in the kernel-doc notation so that
> kernel-doc won't complain about it.
> 
> Fixes this warning:
> 
> drivers/clk/clk-gemini.c:64: warning: expecting prototype for struct gemini_data_data. Prototype was for struct gemini_gate_data instead
> 
> Fixes: 846423f96721 ("clk: Add Gemini SoC clock controller")
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Reported-by: kernel test robot <lkp@intel.com>
> Cc: linux-clk@vger.kernel.org
> ---

Applied to clk-next

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-12-03  1:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-20  6:27 [PATCH] clk: Gemini: fix struct name in kernel-doc Randy Dunlap
2021-11-20 11:48 ` Linus Walleij
2021-12-03  1:28 ` Stephen Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox