[PATCH AUTOSEL 4.9 19/43] fbdev: omapfb: off by one in omapfb_register_client()

2018-09-06 Thread Sasha Levin
From: Dan Carpenter [ Upstream commit 5ec1ec35b2979b59d0b33381e7c9aac17e159d16 ] The omapfb_register_client[] array has OMAPFB_PLANE_NUM elements so the > should be >= or we are one element beyond the end of the array. Fixes: 8b08cf2b64f5 ("OMAP: add TI OMAP framebuffer driver") Signed-off-by:

[PATCH AUTOSEL 4.9 19/43] fbdev: omapfb: off by one in omapfb_register_client()

2018-09-06 Thread Sasha Levin
From: Dan Carpenter [ Upstream commit 5ec1ec35b2979b59d0b33381e7c9aac17e159d16 ] The omapfb_register_client[] array has OMAPFB_PLANE_NUM elements so the > should be >= or we are one element beyond the end of the array. Fixes: 8b08cf2b64f5 ("OMAP: add TI OMAP framebuffer driver") Signed-off-by: