commit | 15da78084d584977547e7ba46d8253c27d17507c | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Jul 13 13:15:04 2016 +0300 |
committer | Mark Yao <mark.yao@rock-chips.com> | Tue Jul 19 09:42:39 2016 +0800 |
tree | 09a7c6858e114e5f6fbb0c932c454541965a0405 | |
parent | 44958207d6b21de71720189a4363b10d9e38a3b6 [diff] |
drm/rockchip: fix a couple off by one bugs The priv->crtc_funcs[] array has ROCKCHIP_MAX_CRTC elements so > should be >= here. Fixes: 2048e3286f34 ('drm: rockchip: Add basic drm driver') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Sean Paul <seanpaul@chromium.org>