* [PATCH -next] mux: Fix struct mux_state kernel-doc comment
@ 2021-12-21 2:56 Yang Li
2021-12-21 22:32 ` Peter Rosin
0 siblings, 1 reply; 2+ messages in thread
From: Yang Li @ 2021-12-21 2:56 UTC (permalink / raw)
To: peda; +Cc: a-govindraju, linux-kernel, Yang Li, Abaci Robot
A warning is reported because a colon was dropped, it is found by running
scripts/kernel-doc, which is caused by using 'make W=1'.
drivers/mux/core.c:44: warning: Function parameter or member 'state' not
described in 'mux_state'
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Fixes: f20e55504ef4 ("mux: Add support for reading mux state from consumer DT node")
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
drivers/mux/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mux/core.c b/drivers/mux/core.c
index 7d38e7c0c02e..c0cf27582299 100644
--- a/drivers/mux/core.c
+++ b/drivers/mux/core.c
@@ -33,7 +33,7 @@
* struct mux_state - Represents a mux controller state specific to a given
* consumer.
* @mux: Pointer to a mux controller.
- * @state State of the mux to be selected.
+ * @state: State of the mux to be selected.
*
* This structure is specific to the consumer that acquires it and has
* information specific to that consumer.
--
2.20.1.7.g153144c
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH -next] mux: Fix struct mux_state kernel-doc comment
2021-12-21 2:56 [PATCH -next] mux: Fix struct mux_state kernel-doc comment Yang Li
@ 2021-12-21 22:32 ` Peter Rosin
0 siblings, 0 replies; 2+ messages in thread
From: Peter Rosin @ 2021-12-21 22:32 UTC (permalink / raw)
To: Yang Li; +Cc: a-govindraju, linux-kernel, Abaci Robot
Hi!
On 2021-12-21 03:56, Yang Li wrote:
> A warning is reported because a colon was dropped, it is found by running
> scripts/kernel-doc, which is caused by using 'make W=1'.
> drivers/mux/core.c:44: warning: Function parameter or member 'state' not
> described in 'mux_state'
>
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Fixes: f20e55504ef4 ("mux: Add support for reading mux state from consumer DT node")
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Applied, but I dropped the Fixes tag. Greg will probably not do a raw
pull and instead add his sign-off on the individual patches, so everything
will get new hashes anyway.
Cheers,
Peter
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-12-21 22:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-21 2:56 [PATCH -next] mux: Fix struct mux_state kernel-doc comment Yang Li
2021-12-21 22:32 ` Peter Rosin
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.