From: Russell King Date: Mon, 16 Dec 2013 12:39:31 +0000 (+0000) Subject: imx-drm: imx-drm-core: improve safety of imx_drm_add_crtc() X-Git-Tag: v3.13-rc5~26^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd6040ed57d8f200ab0cc2abf706c54995a48370;p=pandora-kernel.git imx-drm: imx-drm-core: improve safety of imx_drm_add_crtc() We must not add more CRTCs than we have declared to the vblank helpers, otherwise we overflow their arrays. Force failure if we exceed the number of CRTCs. Signed-off-by: Russell King Acked-by: Sascha Hauer Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed