diff options
author | 2005-06-30 22:41:22 +0100 | |
---|---|---|
committer | 2005-06-30 22:41:22 +0100 | |
commit | 44454bcdb90532b372c74e3546043d8a3a468939 (patch) | |
tree | 823fa555fe7c419c4cbc0616fff5b6dadd4d81fa /lib/swiotlb.c | |
parent | Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 (diff) | |
download | wireguard-linux-44454bcdb90532b372c74e3546043d8a3a468939.tar.xz wireguard-linux-44454bcdb90532b372c74e3546043d8a3a468939.zip |
[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>
Diffstat (limited to 'lib/swiotlb.c')
0 files changed, 0 insertions, 0 deletions