Skip to contentSkip to conversation

mux: Fix struct mux_state kernel-doc comment

PATCH Applied Yang Li 2 participants 2 messages Dec 21, 2021 Multiplexer

lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 mux: Fix struct mux_state kernel-doc comment

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'

Fixes f20e55504ef4 ("mux: Add support for reading mux state from consumer DT node")
---
 drivers/mux/core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mux/core.c +1 -1
index 7d38e7c0c02e..c0cf27582299 100644
@@ -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.
Signature · 1 line
2.20.1.7.g153144c
Applied
#1 lore raw

Hi!

Quoted 8 lines · Yang Li

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'

Fixes f20e55504ef4 ("mux: Add support for reading mux state from consumer DT node")

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