From: Jiri Slaby <jirislaby@kernel.org>
To: Yang Yingliang <yangyingliang@huawei.com>, linux-kernel@vger.kernel.org
Cc: gregkh@linuxfoundation.org
Subject: Re: [PATCH -next] tty: pty: correct function name pty_resize()
Date: Tue, 18 May 2021 06:55:18 +0200 [thread overview]
Message-ID: <0c9459d9-dcca-4d39-c113-7bda02158381@kernel.org> (raw)
In-Reply-To: <20210518045353.611017-1-yangyingliang@huawei.com>
On 18. 05. 21, 6:53, Yang Yingliang wrote:
> 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 <yangyingliang@huawei.com>
Reviewed-by: Jiri Slaby <jirislaby@kernel.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 9b5d4ae5d8f2..416471195e5a 100644
> --- a/drivers/tty/pty.c
> +++ b/drivers/tty/pty.c
> @@ -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,
--
js
suse labs
prev parent reply other threads:[~2021-05-18 4:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-18 4:53 Yang Yingliang
2021-05-18 4:55 ` Jiri Slaby [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0c9459d9-dcca-4d39-c113-7bda02158381@kernel.org \
--to=jirislaby@kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=yangyingliang@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®