From: Yang Yingliang Date: Tue, 18 May 2021 04:53:53 +0000 (+0800) Subject: tty: pty: correct function name pty_resize() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f6038cf46e376e21a689605e64ab5152e673ac7e;p=linux.git 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 Reviewed-by: Jiri Slaby Signed-off-by: Yang Yingliang Link: https://lore.kernel.org/r/20210518045353.611017-1-yangyingliang@huawei.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/pty.c b/drivers/tty/pty.c index 73c43f72b4c98..74bfabe5b4538 100644 --- a/drivers/tty/pty.c +++ b/drivers/tty/pty.c @@ -282,7 +282,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. *