Skip to content
Commit 5964dadd authored by Nikita Kiryanov's avatar Nikita Kiryanov Committed by Tom Rini
Browse files

omap_hsmmc: fix out of bounds array access



There are 3 MMC/SD/SDIO controllers in OMAP SoCs, but only 2 structs
are defined for devices. This leads to data being written outside of
array bounds on systems that use all 3 controllers.

Update hsmmc_dev array to the correct size.

Signed-off-by: default avatarNikita Kiryanov <nikita@compulab.co.il>
parent fa3a6928
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment