commit | 44454bcdb90532b372c74e3546043d8a3a468939 | [log] [tgz] |
---|---|---|
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | Thu Jun 30 22:41:22 2005 +0100 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Thu Jun 30 22:41:22 2005 +0100 |
tree | 823fa555fe7c419c4cbc0616fff5b6dadd4d81fa | |
parent | 9b4311eedb17fa88f02e4876cd6aa9a08e383cd6 [diff] |
[PATCH] Serial: Fix small CONFIG_SERIAL_8250_NR_UARTS If CONFIG_SERIAL_8250_NR_UARTS is smaller than the array size in asm/serial.h, we trampled on memory which wasn't ours. Take our big boots away by limiting the number of ports initialised to the smaller of ...NR_UARTS and the array size. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>