]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: fw: sni: Fix out of bounds init of o32 stack
authorThomas Bogendoerfer <tbogendoerfer@suse.de>
Wed, 9 Oct 2019 15:10:56 +0000 (17:10 +0200)
committerPaul Burton <paul.burton@mips.com>
Wed, 9 Oct 2019 19:47:28 +0000 (12:47 -0700)
commit53c8ace44e823c9f5fe3cef8348521c36343a9b1
tree72f72386b650978c472118d7b5df118c2f7786d1
parent9b099fb399429562ce113c36a84376d8da22992f
MIPS: fw: sni: Fix out of bounds init of o32 stack

Use ARRAY_SIZE to caluculate the top of the o32 stack.

Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
arch/mips/fw/sni/sniprom.c