Skip to contentSkip to conversation

mux: fix kernel doc prototype

PATCH In review Vincent Whitchurch 3 participants 4 messages Oct 19, 2021 – Oct 20, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mux: fix kernel doc prototype

Fix this warning from scripts/kernel-doc:

drivers/mux/core.c:391: warning: expecting prototype for mux_control_try_select(). Prototype was for mux_control_try_select_delay() instead

---
 drivers/mux/core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mux/core.c +1 -1
index dee6945e92f7..22f4709768d1 100644
@@ -371,7 +371,7 @@ int mux_control_select_delay(struct mux_control *mux, unsigned int state,
 EXPORT_SYMBOL_GPL(mux_control_select_delay);
 
 /**
- * mux_control_try_select() - Try to select the given multiplexer state.
+ * mux_control_try_select_delay() - Try to select the given multiplexer state.
  * @mux: The mux-control to request a change of state from.
  * @state: The new requested state.
  * @delay_us: The time to delay (in microseconds) if the mux state is changed.
Signature · 1 line
2.28.0
Acked-by on v1 1/1
#1 lore raw
Quoted 8 lines · Vincent Whitchurch

Fix this warning from scripts/kernel-doc:

drivers/mux/core.c:391: warning: expecting prototype for mux_control_try_select(). Prototype was for mux_control_try_select_delay() instead

Obviously. Or, just squash it if that's still an option?

In case it's easier to just pile it on top:

Cheers,
Peter

maintainer
#2 lore raw
Quoted 11 lines · On Tue, 19 Oct 2021 09:17:07 +0200 Peter Rosin <[email protected]> wrote:
Quoted 8 lines · Vincent Whitchurch

Fix this warning from scripts/kernel-doc:

drivers/mux/core.c:391: warning: expecting prototype for mux_control_try_select(). Prototype was for mux_control_try_select_delay() instead

Obviously. Or, just squash it if that's still an option?

Folded into original commit.

Thanks,

Jonathan

Quoted 7 lines

In case it's easier to just pile it on top:

Cheers,
Peter

#3 lore raw
Quoted 13 lines · Jonathan Cameron
Quoted 10 lines · On Tue, 19 Oct 2021 09:17:07 +0200 Peter Rosin <[email protected]> wrote:
Quoted 8 lines · Vincent Whitchurch

Fix this warning from scripts/kernel-doc:

drivers/mux/core.c:391: warning: expecting prototype for mux_control_try_select(). Prototype was for mux_control_try_select_delay() instead

Quoted 6 lines
Quoted 1 line

Obviously. Or, just squash it if that's still an option?

Folded into original commit.

Thanks,

Jonathan

And I would like to say thanks for a nice series from Vincent and to you Jonathan for taking care of the mechanics. Much appreciated!

Cheers,
Peter