From: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <jirislaby@kernel.org>,
LKML <linux-kernel@vger.kernel.org>,
linux-serial <linux-serial@vger.kernel.org>
Subject: Re: [PATCH 1/1] tty: Don't include tty_buffer.h tty.h
Date: Wed, 14 Feb 2024 17:16:16 +0200 (EET) [thread overview]
Message-ID: <33f66aa5-1577-44cb-dfa6-958a18c19cf6@linux.intel.com> (raw)
In-Reply-To: <20240214145439.62624-1-ilpo.jarvinen@linux.intel.com>
[-- Attachment #1: Type: text/plain, Size: 1326 bytes --]
On Wed, 14 Feb 2024, Ilpo Järvinen wrote:
Gah, I seem to have botched the shortlog while I killed linux/ prefixes
from it. I'll send an update tomorrow.
--
i.
> There's no need to include linux/tty_buffer.h in linux/tty.h.
> Move the include into tty_buffer.c that is actually using it.
>
> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
> ---
> drivers/tty/tty_buffer.c | 1 +
> include/linux/tty.h | 1 -
> 2 files changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/tty/tty_buffer.c b/drivers/tty/tty_buffer.c
> index f8883afbeeba..79f0ff94ce00 100644
> --- a/drivers/tty/tty_buffer.c
> +++ b/drivers/tty/tty_buffer.c
> @@ -7,6 +7,7 @@
> #include <linux/errno.h>
> #include <linux/minmax.h>
> #include <linux/tty.h>
> +#include <linux/tty_buffer.h>
> #include <linux/tty_driver.h>
> #include <linux/tty_flip.h>
> #include <linux/timer.h>
> diff --git a/include/linux/tty.h b/include/linux/tty.h
> index 8c76fd97d4ad..2b2e6f0a54d6 100644
> --- a/include/linux/tty.h
> +++ b/include/linux/tty.h
> @@ -6,7 +6,6 @@
> #include <linux/major.h>
> #include <linux/termios.h>
> #include <linux/workqueue.h>
> -#include <linux/tty_buffer.h>
> #include <linux/tty_driver.h>
> #include <linux/tty_ldisc.h>
> #include <linux/tty_port.h>
>
prev parent reply other threads:[~2024-02-14 15:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-14 14:54 [PATCH 1/1] tty: Don't include tty_buffer.h tty.h Ilpo Järvinen
2024-02-14 15:16 ` Ilpo Järvinen [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=33f66aa5-1577-44cb-dfa6-958a18c19cf6@linux.intel.com \
--to=ilpo.jarvinen@linux.intel.com \
--cc=gregkh@linuxfoundation.org \
--cc=jirislaby@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
/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 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.