tty: pty: correct function name pty_resize()
PATCH 1/1 tty: pty: correct function name pty_resize()
Fix the following make W=1 kernel build warning:
drivers/tty/pty.c:307: warning: expecting prototype for pty_do_resize(). Prototype was for pty_resize() instead
Signed-off-by Yang Yingliang <[email protected]>
--- drivers/tty/pty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/tty/pty.c +1 -1
@@ -295,7 +295,7 @@ static void pty_set_termios(struct tty_struct *tty, }/** -* pty_do_resize - resize event +* pty_resize - resize event * @tty: tty being resized * @ws: window size being set. *
Signature · 1 line
2.25.1
Quoted 5 lines · Yang Yingliang
Fix the following make W=1 kernel build warning:
drivers/tty/pty.c:307: warning: expecting prototype forpty_do_resize(). Prototype was forpty_resize()insteadSigned-off-by Yang Yingliang <[email protected]>
Reviewed-by Jiri Slaby <[email protected]>
Quoted 10 lines
--- drivers/tty/pty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/tty/pty.c +0
-0
drivers/tty/pty.c static void pty_set_termios(struct tty_struct *tty, · line 301
Quoted 8 lines
drivers/tty/pty.c +1
-1@@ -295,7 +295,7 @@ static void pty_set_termios(struct tty_struct *tty, }/** -* pty_do_resize - resize event +* pty_resize - resize event * @tty: tty being resized * @ws: window size being set. *
thanks,
Signature · 2 lines
js suse labs