]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: off by one in check_reg() functions
authorDan Carpenter <error27@gmail.com>
Wed, 27 Jul 2011 09:53:40 +0000 (09:53 +0000)
committerDave Airlie <airlied@redhat.com>
Thu, 4 Aug 2011 13:22:10 +0000 (14:22 +0100)
commit9edc0fb74076604079d303ce45727b7e7a2c61f8
tree1c22c0d4ab91633a5893e7d7058ada2b8494b58e
parent1146591391f8a8701195316455e6adc9c5fe91e7
drm/radeon: off by one in check_reg() functions

This off by one range check was copy and pasted a couple places.
It's not really harmful, but we should fix it anyway.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/evergreen_cs.c
drivers/gpu/drm/radeon/r600_cs.c