drm/nouveau: off by one in nouveau_drm_vblank_enable()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 27 Sep 2013 20:17:14 +0000 (23:17 +0300)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 8 Nov 2013 05:36:02 +0000 (15:36 +1000)
commitca3562226a901ddf77c7da36077c25316c4c0bb7
tree21907defb5c90cd19d00e5e33d5268cda2fff5b8
parent1934a2add96bdd9922c6752b07244cbd11d6a7d7
drm/nouveau: off by one in nouveau_drm_vblank_enable()

The test here should be ">= ARRAY_SIZE()" instead of "> ARRAY_SIZE()".

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_drm.c