# \[PATCH 07/12\] 8250: propogate the bugs field

- From: Alan Cox \<hidden\>
- Date: 2012-06-22 15:28:17 
- List: linux-serial
- Page: https://ratatoskr.run/linux-serial/2012/06/3883517
- Thread: https://ratatoskr.run/linux-serial/2012/06/3883496/t.md

```text
From: Alan Cox <redacted>

Now we are using the uart_8250_port this is trivial

Signed-off-by: Alan Cox <redacted>
---

 drivers/tty/serial/8250/8250.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/tty/serial/8250/8250.c b/drivers/tty/serial/8250/8250.c
index 5e3f6a3..779d791 100644
--- a/drivers/tty/serial/8250/8250.c
+++ b/drivers/tty/serial/8250/8250.c
@@ -3147,6 +3147,7 @@ int serial8250_register_8250_port(struct uart_8250_port *up)
 		uart->port.regshift     = up->port.regshift;
 		uart->port.iotype       = up->port.iotype;
 		uart->port.flags        = up->port.flags | UPF_BOOT_AUTOCONF;
+		uart->bugs		= up->bugs;
 		uart->port.mapbase      = up->port.mapbase;
 		uart->port.private_data = up->port.private_data;
 		if (up->port.dev)
```
