git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d267ea
)
serial: ar933x_uart: Fix off-by-one for checking valid alias id
author
Axel Lin
<axel.lin@ingics.com>
Mon, 23 Feb 2015 03:34:30 +0000
(11:34 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sat, 7 Mar 2015 02:20:25 +0000
(
03:20
+0100)
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>
No differences found