[patch] drm/radeon/r600_cs: off by one errors

2011-02-26 Thread Dan Carpenter
There are a bunch of off by one errors in the sanity checks here. Signed-off-by: Dan Carpenter diff --git a/drivers/gpu/drm/radeon/r600_cs.c b/drivers/gpu/drm/radeon/r600_cs.c index 79ac676..41da786 100644 --- a/drivers/gpu/drm/radeon/r600_cs.c +++ b/drivers/gpu/drm/radeon/r600_cs.c @@ -159,7 +1

[patch] drm/radeon/r600_cs: off by one errors

2011-02-25 Thread Dan Carpenter
There are a bunch of off by one errors in the sanity checks here. Signed-off-by: Dan Carpenter diff --git a/drivers/gpu/drm/radeon/r600_cs.c b/drivers/gpu/drm/radeon/r600_cs.c index 79ac676..41da786 100644 --- a/drivers/gpu/drm/radeon/r600_cs.c +++ b/drivers/gpu/drm/radeon/r600_cs.c @@ -159,7 +1