commit | bb8478d7d676802211a9a5d77bd0f87899900e41 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Mon Feb 23 11:34:30 2015 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Mar 07 03:20:25 2015 +0100 |
tree | 33033fb00619d165fa2e9f9463b50fab172b8c1c | |
parent | 1d267ea6539f266352f4739c718e278dc62b1df7 [diff] |
serial: ar933x_uart: Fix off-by-one for checking valid alias id Current code uses the alias id as array subscript of ar933x_console_ports. So the valid id is 0 ... CONFIG_SERIAL_AR933X_NR_UARTS - 1. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>