diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-12-16 16:39:31 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-18 05:12:55 +0400 |
commit | fd6040ed57d8f200ab0cc2abf706c54995a48370 (patch) | |
tree | cf23030e471ce6afa0c312e46b6dc81635bda205 /drivers/bus | |
parent | 9fe73d46edd358fc154f7332c8ff312e067255a0 (diff) | |
download | linux-fd6040ed57d8f200ab0cc2abf706c54995a48370.tar.xz |
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 <rmk+kernel@arm.linux.org.uk>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/bus')
0 files changed, 0 insertions, 0 deletions