mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
MIPS: Alchemy: Fix an out-of-bound access in db1200_dev_setup()
[ Upstream commit89c4b588d1] When calling spi_register_board_info(), we should pass the number of elements in 'db1200_spi_devs', not 'db1200_i2c_devs'. Fixes:63323ec54a("MIPS: Alchemy: Extended DB1200 board support.") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
69e9a6944d
commit
2504864be6
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue