drm/rockchip: fix a couple off by one bugs
The priv->crtc_funcs[] array has ROCKCHIP_MAX_CRTC elements so > should be >= here. Fixes: 2048e328 ('drm: rockchip: Add basic drm driver') Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com> Reviewed-by: NSean Paul <seanpaul@chromium.org>
Showing
想要评论请 注册 或 登录