MIPS: Lasat: A couple off by one bugs in picvue_proc.c
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 8 Nov 2013 09:44:31 +0000 (12:44 +0300)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 28 May 2016 10:35:06 +0000 (12:35 +0200)
commit9b987c4d74ba2ac695d28a155e3cf2a8a48d426f
tree92281ac5a2a07b3211a57cdb49a94d5a6081a448
parent2b436a351803f38d0c8ca9c26103472c8aaeb599
MIPS: Lasat: A couple off by one bugs in picvue_proc.c

These should be ">=" instead of ">" or we go past the end of the
pvc_lines[] array.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: linux-mips@linux-mips.org
Cc: kernel-janitors@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/6124/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/lasat/picvue_proc.c