diff options
author | 2015-03-17 12:17:28 +0300 | |
---|---|---|
committer | 2015-03-26 23:00:36 +0100 | |
commit | a666b54adabc7dd40d754671a26996e6c985ae1b (patch) | |
tree | eafdaa1b060e9455efeda541e5feb783f996d764 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | serial: xuartps: Fix check in console_setup(). (diff) | |
download | linux-dev-a666b54adabc7dd40d754671a26996e6c985ae1b.tar.xz linux-dev-a666b54adabc7dd40d754671a26996e6c985ae1b.zip |
serial: jsm: some off by one bugs
"brd->nasync" amd "brd->maxports" are the same. They hold the number of
filled out channels in the brd->channels[] array. These tests should
be ">=" instead of ">" so that we don't read one element past the end.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Thadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions