drivers/gpu/drm/radeon/radeon_atombios.c: range check issues
authorDan Carpenter <error27@gmail.com>
Tue, 27 Apr 2010 21:11:04 +0000 (14:11 -0700)
committerDave Airlie <airlied@redhat.com>
Wed, 28 Apr 2010 08:41:54 +0000 (18:41 +1000)
commit0031c41be5c529f8329e327b63cde92ba1284842
tree753f7f1ba1a1886816f40740d7a4d96f9830ecb6
parent8c88e50bcf7f9f7e1b4987aaac3dfacc3ac6bd24
drivers/gpu/drm/radeon/radeon_atombios.c: range check issues

This change makes the array larger, "MAX_SUPPORTED_TV_TIMING_V1_2" is 3
and the original size "MAX_SUPPORTED_TV_TIMING" is 2.

Also there were checks that were off by one.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/atombios.h
drivers/gpu/drm/radeon/radeon_atombios.c