[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210520121906.3468725-8-lee.jones@linaro.org>
Date: Thu, 20 May 2021 13:19:02 +0100
From: Lee Jones <lee.jones@...aro.org>
To: lee.jones@...aro.org
Cc: linux-kernel@...r.kernel.org,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiri Slaby <jirislaby@...nel.org>,
"C. Scott Ananian" <cananian@...mni.princeton.edu>
Subject: [PATCH 07/11] tty: pty: Fix incorrectly named function pty_resize()
Fixes the following W=1 kernel build warning(s):
drivers/tty/pty.c:306: warning: expecting prototype for pty_do_resize(). Prototype was for pty_resize() instead
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: Jiri Slaby <jirislaby@...nel.org>
Cc: "C. Scott Ananian" <cananian@...mni.princeton.edu>
Signed-off-by: Lee Jones <lee.jones@...aro.org>
---
drivers/tty/pty.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/tty/pty.c b/drivers/tty/pty.c
index 5ada7e9381eb8..a0898925d2e7a 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.
*
--
2.31.1
Powered by blists - more mailing lists