diff options
author | Nikita Kiryanov <nikita@compulab.co.il> | 2012-12-03 02:19:42 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-03-08 16:41:12 -0500 |
commit | 5964dadd0371238cbc91b1c2b6b24fd7d83833d8 (patch) | |
tree | 5855f4727ae61b2ea102b61afcab4001b4132c39 /drivers/mmc/dw_mmc.c | |
parent | fa3a69289f95efc01db0b15df326884973e80156 (diff) | |
download | u-boot-imx-5964dadd0371238cbc91b1c2b6b24fd7d83833d8.zip u-boot-imx-5964dadd0371238cbc91b1c2b6b24fd7d83833d8.tar.gz u-boot-imx-5964dadd0371238cbc91b1c2b6b24fd7d83833d8.tar.bz2 |
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: Nikita Kiryanov <nikita@compulab.co.il>
Diffstat (limited to 'drivers/mmc/dw_mmc.c')
0 files changed, 0 insertions, 0 deletions