diff options
| author | Tony Prisk <[email protected]> | 2013-01-16 19:05:40 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-01-18 01:24:15 +0000 |
| commit | 27dd2e04923341cff96aae164117c44da1072c32 (patch) | |
| tree | 879a03ce36fc13e1f9bcff0e8f281d429e73a75e /drivers/tty/serial/sccnxp.c | |
| parent | tty: serial/crisv10.c: remove unnecessary null pointer check (diff) | |
| download | kernel-27dd2e04923341cff96aae164117c44da1072c32.tar.gz kernel-27dd2e04923341cff96aae164117c44da1072c32.zip | |
serial: vt8500: Fix range-checking on vt8500_uart_ports
Fix two instances where the index to vt8500_uart_ports is tested
against > VT8500_MAX_PORTS. Correct usage should be >= VT8500_MAX_PORTS.
Signed-off-by: Tony Prisk <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/tty/serial/sccnxp.c')
0 files changed, 0 insertions, 0 deletions
