From: Antoine Ténart Date: Mon, 12 May 2014 12:56:28 +0000 (+0200) Subject: phy: exynos-mipi-video: fix check on array index X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~34^2~181^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98c3b32229f2685c13436b652b8959c99dfc5a31;p=pandora-kernel.git phy: exynos-mipi-video: fix check on array index The phys array is of size EXYNOS_MIPI_PHYS_NUM. Trying to access the index EXYNOS_MIPI_PHYS_NUM should return an error. Fixes: 069d2e26e9d6 "phy: Add driver for Exynos MIPI CSIS/DSIM DPHYs" Signed-off-by: Antoine Ténart Signed-off-by: Kishon Vijay Abraham I --- Reading git-diff-tree failed