aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTony Prisk <linux@prisktech.co.nz>2013-01-17 08:05:40 +1300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-17 17:24:15 -0800
commit27dd2e04923341cff96aae164117c44da1072c32 (patch)
tree879a03ce36fc13e1f9bcff0e8f281d429e73a75e /include
parenttty: serial/crisv10.c: remove unnecessary null pointer check (diff)
downloadlinux-dev-27dd2e04923341cff96aae164117c44da1072c32.tar.xz
linux-dev-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 <linux@prisktech.co.nz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions