tangled
alpha
login
or
join now
tjh.dev
/
kernel
Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1
fork
atom
overview
issues
pulls
pipelines
Merge master.kernel.org:/home/rmk/linux-2.6-serial
Linus Torvalds
20 years ago
d471cd47
bd53d127
+2
-1
1 changed file
expand all
collapse all
unified
split
drivers
serial
8250.c
+2
-1
drivers/serial/8250.c
···
2061
up->port.ops = &serial8250_pops;
2062
}
2063
2064
-
for (i = 0, up = serial8250_ports; i < ARRAY_SIZE(old_serial_port);
0
2065
i++, up++) {
2066
up->port.iobase = old_serial_port[i].port;
2067
up->port.irq = irq_canonicalize(old_serial_port[i].irq);
···
2061
up->port.ops = &serial8250_pops;
2062
}
2063
2064
+
for (i = 0, up = serial8250_ports;
2065
+
i < ARRAY_SIZE(old_serial_port) && i < UART_NR;
2066
i++, up++) {
2067
up->port.iobase = old_serial_port[i].port;
2068
up->port.irq = irq_canonicalize(old_serial_port[i].irq);