All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] vt: fix some doc warnings in vt.c
@ 2020-09-18  7:47 Xiaofei Tan
  2020-09-18  7:52 ` Jiri Slaby
  0 siblings, 1 reply; 3+ messages in thread
From: Xiaofei Tan @ 2020-09-18  7:47 UTC (permalink / raw)
  To: gregkh, jirislaby, nico, linux-kernel; +Cc: linuxarm, Xiaofei Tan

Fix following warnings caused by mismatch bewteen function parameters
and comments.
drivers/tty/vt/vt.c:3994: warning: Function parameter or member 'vc' not described in 'con_debug_enter'
drivers/tty/vt/vt.c:3994: warning: Excess function parameter 'sw' description in 'con_debug_enter'
drivers/tty/vt/vt.c:4051: warning: Excess function parameter 'sw' description in 'con_debug_leave'

Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com>
---
 drivers/tty/vt/vt.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/tty/vt/vt.c b/drivers/tty/vt/vt.c
index 19cd4a4..1e9a6b6 100644
--- a/drivers/tty/vt/vt.c
+++ b/drivers/tty/vt/vt.c
@@ -1180,7 +1180,6 @@ static inline int resize_screen(struct vc_data *vc, int width, int height,
 /**
  *	vc_do_resize	-	resizing method for the tty
  *	@tty: tty being resized
- *	@real_tty: real tty (different to tty if a pty/tty pair)
  *	@vc: virtual console private data
  *	@cols: columns
  *	@lines: lines
@@ -3980,7 +3979,7 @@ EXPORT_SYMBOL(con_is_visible);
 
 /**
  * con_debug_enter - prepare the console for the kernel debugger
- * @sw: console driver
+ * @vc: virtual console
  *
  * Called when the console is taken over by the kernel debugger, this
  * function needs to save the current console state, then put the console
@@ -4038,7 +4037,6 @@ EXPORT_SYMBOL_GPL(con_debug_enter);
 
 /**
  * con_debug_leave - restore console state
- * @sw: console driver
  *
  * Restore the console state to what it was before the kernel debugger
  * was invoked.
-- 
2.8.1


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

* Re: [PATCH] vt: fix some doc warnings in vt.c
  2020-09-18  7:47 [PATCH] vt: fix some doc warnings in vt.c Xiaofei Tan
@ 2020-09-18  7:52 ` Jiri Slaby
  2020-09-19  2:26   ` Xiaofei Tan
  0 siblings, 1 reply; 3+ messages in thread
From: Jiri Slaby @ 2020-09-18  7:52 UTC (permalink / raw)
  To: Xiaofei Tan, gregkh, nico, linux-kernel; +Cc: linuxarm

On 18. 09. 20, 9:47, Xiaofei Tan wrote:
> Fix following warnings caused by mismatch bewteen function parameters
> and comments.
> drivers/tty/vt/vt.c:3994: warning: Function parameter or member 'vc' not described in 'con_debug_enter'
> drivers/tty/vt/vt.c:3994: warning: Excess function parameter 'sw' description in 'con_debug_enter'
> drivers/tty/vt/vt.c:4051: warning: Excess function parameter 'sw' description in 'con_debug_leave'

It looks like I fixed those in
https://lore.kernel.org/r/20200818085655.12071-6-jslaby@suse.cz
too. Could you rebase on the top of tty-next?

thanks,
-- 
js
suse labs

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

* Re: [PATCH] vt: fix some doc warnings in vt.c
  2020-09-18  7:52 ` Jiri Slaby
@ 2020-09-19  2:26   ` Xiaofei Tan
  0 siblings, 0 replies; 3+ messages in thread
From: Xiaofei Tan @ 2020-09-19  2:26 UTC (permalink / raw)
  To: Jiri Slaby, gregkh, nico, linux-kernel; +Cc: linuxarm

Hi Jiri,

On 2020/9/18 15:52, Jiri Slaby wrote:
> On 18. 09. 20, 9:47, Xiaofei Tan wrote:
>> Fix following warnings caused by mismatch bewteen function parameters
>> and comments.
>> drivers/tty/vt/vt.c:3994: warning: Function parameter or member 'vc' not described in 'con_debug_enter'
>> drivers/tty/vt/vt.c:3994: warning: Excess function parameter 'sw' description in 'con_debug_enter'
>> drivers/tty/vt/vt.c:4051: warning: Excess function parameter 'sw' description in 'con_debug_leave'
> 
> It looks like I fixed those in
> https://lore.kernel.org/r/20200818085655.12071-6-jslaby@suse.cz
> too. Could you rebase on the top of tty-next?
> 

Oh, yes, I used a different branch.
Thanks for your remind.


> thanks,
> 

-- 
 thanks
tanxiaofei


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

end of thread, other threads:[~2020-09-19  2:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-18  7:47 [PATCH] vt: fix some doc warnings in vt.c Xiaofei Tan
2020-09-18  7:52 ` Jiri Slaby
2020-09-19  2:26   ` Xiaofei Tan

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.