mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/8] serial: remove unused linux/circ_buf.h includes
@ 2026-12-06 14:57 Bramuel Barack
  2026-12-06 14:57 ` [PATCH 1/8] serial: 8250_pci1xxxx: remove unused linux/circ_buf.h include Bramuel Barack
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Bramuel Barack @ 2026-12-06 14:57 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Jiri Slaby; +Cc: linux-serial, linux-kernel, Bramuel Barack

Remove leftover <linux/circ_buf.h> inclusions from eight serial drivers
that were previously converted away from struct circ_buf.

All eight drivers were compile-tested across x86_64 (8250_pci1xxxx,
pxa, sdio_uart), sparc64 (sunhv, sunsab, sunsu, sunzilog), and mips
(ip22zilog).

Bramuel Barack (8):
  serial: 8250_pci1xxxx: remove unused linux/circ_buf.h include
  serial: ip22zilog: remove unused linux/circ_buf.h include
  serial: pxa: remove unused linux/circ_buf.h include
  serial: sdio_uart: remove unused linux/circ_buf.h include
  serial: sunhv: remove unused linux/circ_buf.h include
  serial: sunsab: remove unused linux/circ_buf.h include
  serial: sunsu: remove unused linux/circ_buf.h include
  serial: sunzilog: remove unused linux/circ_buf.h include

 drivers/tty/serial/8250/8250_pci1xxxx.c | 1 -
 drivers/tty/serial/ip22zilog.c          | 1 -
 drivers/tty/serial/pxa.c                | 1 -
 drivers/tty/serial/sdio_uart.c          | 1 -
 drivers/tty/serial/sunhv.c              | 1 -
 drivers/tty/serial/sunsab.c             | 1 -
 drivers/tty/serial/sunsu.c              | 1 -
 drivers/tty/serial/sunzilog.c           | 1 -
 8 files changed, 8 deletions(-)

-- 
2.56.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 1/8] serial: 8250_pci1xxxx: remove unused linux/circ_buf.h include
  2026-12-06 14:57 [PATCH 0/8] serial: remove unused linux/circ_buf.h includes Bramuel Barack
@ 2026-12-06 14:57 ` Bramuel Barack
  2026-12-06 14:57 ` [PATCH 2/8] serial: ip22zilog: " Bramuel Barack
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Bramuel Barack @ 2026-12-06 14:57 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Jiri Slaby
  Cc: linux-serial, linux-kernel, Bramuel Barack, Kumaravel Thiagarajan

Commit 1788cf6a91d9 ("tty: serial: switch from circ_buf to kfifo")
converted the driver from struct circ_buf to kfifo, leaving the
<linux/circ_buf.h> inclusion unused. Remove it.

Signed-off-by: Bramuel Barack <bramwelbarack89@gmail.com>
---
 drivers/tty/serial/8250/8250_pci1xxxx.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/tty/serial/8250/8250_pci1xxxx.c b/drivers/tty/serial/8250/8250_pci1xxxx.c
index 72fdb1bac2eb..607245041509 100644
--- a/drivers/tty/serial/8250/8250_pci1xxxx.c
+++ b/drivers/tty/serial/8250/8250_pci1xxxx.c
@@ -10,7 +10,6 @@
 #include <linux/array_size.h>
 #include <linux/bitfield.h>
 #include <linux/bits.h>
-#include <linux/circ_buf.h>
 #include <linux/device.h>
 #include <linux/err.h>
 #include <linux/errno.h>
-- 
2.56.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 2/8] serial: ip22zilog: remove unused linux/circ_buf.h include
  2026-12-06 14:57 [PATCH 0/8] serial: remove unused linux/circ_buf.h includes Bramuel Barack
  2026-12-06 14:57 ` [PATCH 1/8] serial: 8250_pci1xxxx: remove unused linux/circ_buf.h include Bramuel Barack
@ 2026-12-06 14:57 ` Bramuel Barack
  2026-12-06 14:57 ` [PATCH 3/8] serial: pxa: " Bramuel Barack
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Bramuel Barack @ 2026-12-06 14:57 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Jiri Slaby; +Cc: linux-serial, linux-kernel, Bramuel Barack

Commit 1788cf6a91d9 ("tty: serial: switch from circ_buf to kfifo")
converted the driver from struct circ_buf to kfifo, leaving the
<linux/circ_buf.h> inclusion unused. Remove it.

Signed-off-by: Bramuel Barack <bramwelbarack89@gmail.com>
---
 drivers/tty/serial/ip22zilog.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/tty/serial/ip22zilog.c b/drivers/tty/serial/ip22zilog.c
index 3fb8fdf8a853..96d964ecd732 100644
--- a/drivers/tty/serial/ip22zilog.c
+++ b/drivers/tty/serial/ip22zilog.c
@@ -24,7 +24,6 @@
 #include <linux/ptrace.h>
 #include <linux/ioport.h>
 #include <linux/slab.h>
-#include <linux/circ_buf.h>
 #include <linux/serial.h>
 #include <linux/sysrq.h>
 #include <linux/console.h>
-- 
2.56.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 3/8] serial: pxa: remove unused linux/circ_buf.h include
  2026-12-06 14:57 [PATCH 0/8] serial: remove unused linux/circ_buf.h includes Bramuel Barack
  2026-12-06 14:57 ` [PATCH 1/8] serial: 8250_pci1xxxx: remove unused linux/circ_buf.h include Bramuel Barack
  2026-12-06 14:57 ` [PATCH 2/8] serial: ip22zilog: " Bramuel Barack
@ 2026-12-06 14:57 ` Bramuel Barack
  2026-12-06 14:57 ` [PATCH 4/8] serial: sdio_uart: " Bramuel Barack
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Bramuel Barack @ 2026-12-06 14:57 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Jiri Slaby; +Cc: linux-serial, linux-kernel, Bramuel Barack

Commit d11cc8c3c4b6 ("tty: serial: use uart_port_tx_limited()")
removed the remaining circ_buf usage from the driver, leaving
<linux/circ_buf.h> unused. Remove it.

Signed-off-by: Bramuel Barack <bramwelbarack89@gmail.com>
---
 drivers/tty/serial/pxa.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/tty/serial/pxa.c b/drivers/tty/serial/pxa.c
index 10fc8990579b..581048a930fd 100644
--- a/drivers/tty/serial/pxa.c
+++ b/drivers/tty/serial/pxa.c
@@ -25,7 +25,6 @@
 #include <linux/sysrq.h>
 #include <linux/serial.h>
 #include <linux/serial_reg.h>
-#include <linux/circ_buf.h>
 #include <linux/delay.h>
 #include <linux/interrupt.h>
 #include <linux/of.h>
-- 
2.56.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 4/8] serial: sdio_uart: remove unused linux/circ_buf.h include
  2026-12-06 14:57 [PATCH 0/8] serial: remove unused linux/circ_buf.h includes Bramuel Barack
                   ` (2 preceding siblings ...)
  2026-12-06 14:57 ` [PATCH 3/8] serial: pxa: " Bramuel Barack
@ 2026-12-06 14:57 ` Bramuel Barack
  2026-12-06 14:57 ` [PATCH 5/8] serial: sunhv: " Bramuel Barack
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Bramuel Barack @ 2026-12-06 14:57 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Jiri Slaby; +Cc: linux-serial, linux-kernel, Bramuel Barack

The driver no longer uses struct circ_buf or any CIRC_* helpers,
so the <linux/circ_buf.h> inclusion is unneeded. Remove it.

Signed-off-by: Bramuel Barack <bramwelbarack89@gmail.com>
---
 drivers/tty/serial/sdio_uart.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/tty/serial/sdio_uart.c b/drivers/tty/serial/sdio_uart.c
index 705163c42972..6dc0de962aae 100644
--- a/drivers/tty/serial/sdio_uart.c
+++ b/drivers/tty/serial/sdio_uart.c
@@ -30,7 +30,6 @@
 #include <linux/seq_file.h>
 #include <linux/serial.h>
 #include <linux/serial_reg.h>
-#include <linux/circ_buf.h>
 #include <linux/tty.h>
 #include <linux/tty_flip.h>
 #include <linux/kfifo.h>
-- 
2.56.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 5/8] serial: sunhv: remove unused linux/circ_buf.h include
  2026-12-06 14:57 [PATCH 0/8] serial: remove unused linux/circ_buf.h includes Bramuel Barack
                   ` (3 preceding siblings ...)
  2026-12-06 14:57 ` [PATCH 4/8] serial: sdio_uart: " Bramuel Barack
@ 2026-12-06 14:57 ` Bramuel Barack
  2026-12-06 14:57 ` [PATCH 6/8] serial: sunsab: " Bramuel Barack
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Bramuel Barack @ 2026-12-06 14:57 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Jiri Slaby
  Cc: linux-serial, linux-kernel, Bramuel Barack, David S. Miller, sparclinux

Commit 1788cf6a91d9 ("tty: serial: switch from circ_buf to kfifo")
converted the driver from struct circ_buf to kfifo, leaving the
<linux/circ_buf.h> inclusion unused. Remove it.

Signed-off-by: Bramuel Barack <bramwelbarack89@gmail.com>
---
 drivers/tty/serial/sunhv.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/tty/serial/sunhv.c b/drivers/tty/serial/sunhv.c
index 35301d6d5bc6..ce5ecdcfbe52 100644
--- a/drivers/tty/serial/sunhv.c
+++ b/drivers/tty/serial/sunhv.c
@@ -9,7 +9,6 @@
 #include <linux/tty.h>
 #include <linux/tty_flip.h>
 #include <linux/major.h>
-#include <linux/circ_buf.h>
 #include <linux/serial.h>
 #include <linux/sysrq.h>
 #include <linux/console.h>
-- 
2.56.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 6/8] serial: sunsab: remove unused linux/circ_buf.h include
  2026-12-06 14:57 [PATCH 0/8] serial: remove unused linux/circ_buf.h includes Bramuel Barack
                   ` (4 preceding siblings ...)
  2026-12-06 14:57 ` [PATCH 5/8] serial: sunhv: " Bramuel Barack
@ 2026-12-06 14:57 ` Bramuel Barack
  2026-12-06 14:57 ` [PATCH 7/8] serial: sunsu: " Bramuel Barack
  2026-12-06 14:57 ` [PATCH 8/8] serial: sunzilog: " Bramuel Barack
  7 siblings, 0 replies; 9+ messages in thread
From: Bramuel Barack @ 2026-12-06 14:57 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Jiri Slaby
  Cc: linux-serial, linux-kernel, Bramuel Barack, David S. Miller, sparclinux

Commit 1788cf6a91d9 ("tty: serial: switch from circ_buf to kfifo")
converted the driver from struct circ_buf to kfifo, leaving the
<linux/circ_buf.h> inclusion unused. Remove it.

Signed-off-by: Bramuel Barack <bramwelbarack89@gmail.com>
---
 drivers/tty/serial/sunsab.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/tty/serial/sunsab.c b/drivers/tty/serial/sunsab.c
index d0a070c23704..2c01cc7aa08f 100644
--- a/drivers/tty/serial/sunsab.c
+++ b/drivers/tty/serial/sunsab.c
@@ -25,7 +25,6 @@
 #include <linux/string.h>
 #include <linux/ptrace.h>
 #include <linux/ioport.h>
-#include <linux/circ_buf.h>
 #include <linux/serial.h>
 #include <linux/sysrq.h>
 #include <linux/console.h>
-- 
2.56.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 7/8] serial: sunsu: remove unused linux/circ_buf.h include
  2026-12-06 14:57 [PATCH 0/8] serial: remove unused linux/circ_buf.h includes Bramuel Barack
                   ` (5 preceding siblings ...)
  2026-12-06 14:57 ` [PATCH 6/8] serial: sunsab: " Bramuel Barack
@ 2026-12-06 14:57 ` Bramuel Barack
  2026-12-06 14:57 ` [PATCH 8/8] serial: sunzilog: " Bramuel Barack
  7 siblings, 0 replies; 9+ messages in thread
From: Bramuel Barack @ 2026-12-06 14:57 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Jiri Slaby
  Cc: linux-serial, linux-kernel, Bramuel Barack, David S. Miller, sparclinux

Commit 1788cf6a91d9 ("tty: serial: switch from circ_buf to kfifo")
converted the driver from struct circ_buf to kfifo, leaving the
<linux/circ_buf.h> inclusion unused. Remove it.

Signed-off-by: Bramuel Barack <bramwelbarack89@gmail.com>
---
 drivers/tty/serial/sunsu.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/tty/serial/sunsu.c b/drivers/tty/serial/sunsu.c
index 33e2b11f9d69..e15f36f01ec9 100644
--- a/drivers/tty/serial/sunsu.c
+++ b/drivers/tty/serial/sunsu.c
@@ -26,7 +26,6 @@
 #include <linux/string.h>
 #include <linux/ptrace.h>
 #include <linux/ioport.h>
-#include <linux/circ_buf.h>
 #include <linux/serial.h>
 #include <linux/sysrq.h>
 #include <linux/console.h>
-- 
2.56.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 8/8] serial: sunzilog: remove unused linux/circ_buf.h include
  2026-12-06 14:57 [PATCH 0/8] serial: remove unused linux/circ_buf.h includes Bramuel Barack
                   ` (6 preceding siblings ...)
  2026-12-06 14:57 ` [PATCH 7/8] serial: sunsu: " Bramuel Barack
@ 2026-12-06 14:57 ` Bramuel Barack
  7 siblings, 0 replies; 9+ messages in thread
From: Bramuel Barack @ 2026-12-06 14:57 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Jiri Slaby
  Cc: linux-serial, linux-kernel, Bramuel Barack, David S. Miller, sparclinux

Commit 1788cf6a91d9 ("tty: serial: switch from circ_buf to kfifo")
converted the driver from struct circ_buf to kfifo, leaving the
<linux/circ_buf.h> inclusion unused. Remove it.

Signed-off-by: Bramuel Barack <bramwelbarack89@gmail.com>
---
 drivers/tty/serial/sunzilog.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/tty/serial/sunzilog.c b/drivers/tty/serial/sunzilog.c
index 0551c24c06f5..8807b2864f41 100644
--- a/drivers/tty/serial/sunzilog.c
+++ b/drivers/tty/serial/sunzilog.c
@@ -24,7 +24,6 @@
 #include <linux/ptrace.h>
 #include <linux/ioport.h>
 #include <linux/slab.h>
-#include <linux/circ_buf.h>
 #include <linux/serial.h>
 #include <linux/sysrq.h>
 #include <linux/console.h>
-- 
2.56.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-12-06 14:58 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-06 14:57 [PATCH 0/8] serial: remove unused linux/circ_buf.h includes Bramuel Barack
2026-12-06 14:57 ` [PATCH 1/8] serial: 8250_pci1xxxx: remove unused linux/circ_buf.h include Bramuel Barack
2026-12-06 14:57 ` [PATCH 2/8] serial: ip22zilog: " Bramuel Barack
2026-12-06 14:57 ` [PATCH 3/8] serial: pxa: " Bramuel Barack
2026-12-06 14:57 ` [PATCH 4/8] serial: sdio_uart: " Bramuel Barack
2026-12-06 14:57 ` [PATCH 5/8] serial: sunhv: " Bramuel Barack
2026-12-06 14:57 ` [PATCH 6/8] serial: sunsab: " Bramuel Barack
2026-12-06 14:57 ` [PATCH 7/8] serial: sunsu: " Bramuel Barack
2026-12-06 14:57 ` [PATCH 8/8] serial: sunzilog: " Bramuel Barack

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®