thunderbolt: Fix some kernel-doc comments
Subsystems (2)
PATCH 1/1 thunderbolt: Fix some kernel-doc comments
Remove some warnings found by running scripts/kernel-doc, which is caused by using 'make W=1'.
drivers/thunderbolt/ctl.c:701: warning: expecting prototype for tb_cfg_start(). Prototype was for tb_ctl_start() instead drivers/thunderbolt/ctl.c:722: warning: expecting prototype for tb_ctrl_stop(). Prototype was for tb_ctl_stop() instead drivers/thunderbolt/ctl.c:930: warning: expecting prototype for tb_cfg_write(). Prototype was for tb_cfg_write_raw() instead
--- drivers/thunderbolt/ctl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/thunderbolt/ctl.c +3 -3
@@ -694,7 +694,7 @@ void tb_ctl_free(struct tb_ctl *ctl) }/** -* tb_cfg_start() - start/resume the control channel +* tb_ctl_start() - start/resume the control channel * @ctl: Control channel to start */ void tb_ctl_start (struct tb_ctl *ctl)
@@ -710,7 +710,7 @@ void tb_ctl_start(struct tb_ctl *ctl) }/** -* tb_ctrl_stop() - pause the control channel +* tb_ctl_stop() - pause the control channel * @ctl: Control channel to stop * * All invocations of ctl->callback will have finished after this method
@@ -912,7 +912,7 @@ struct tb_cfg_result tb_cfg_read_raw(struct tb_ctl *ctl, void *buffer, }/** -* tb_cfg_write() - write from buffer into config space +* tb_cfg_write_raw() - write from buffer into config space * @ctl: Pointer to the control channel * @buffer: Data to write * @route: Route string of the router
Signature · 1 line
2.20.1.7.g153144c
Mika Westerberg
AppliedQuoted 10 lines · Yang Li
Remove some warnings found by running
scripts/kernel-doc, which is caused by using 'make W=1'.
drivers/thunderbolt/ctl.c:701: warning: expecting prototype fortb_cfg_start(). Prototype was fortb_ctl_start()insteaddrivers/thunderbolt/ctl.c:722: warning: expecting prototype fortb_ctrl_stop(). Prototype was fortb_ctl_stop()insteaddrivers/thunderbolt/ctl.c:930: warning: expecting prototype fortb_cfg_write(). Prototype was fortb_cfg_write_raw()instead
Quoted 2 lines
Reported-by Abaci Robot <[email protected]>Signed-off-by Yang Li <[email protected]>
Applied to thunderbolt.git/next, thanks!