From: Russell King Date: Thu, 30 Jun 2005 21:41:22 +0000 (+0100) Subject: [PATCH] Serial: Fix small CONFIG_SERIAL_8250_NR_UARTS X-Git-Tag: v2.6.13-rc2~36^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44454bcdb90532b372c74e3546043d8a3a468939;p=pandora-kernel.git [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 --- Reading git-diff-tree failed