drm/radeon: fix a couple of array index errors
authorDarren Jenkins <darrenrjenkins@gmail.com>
Thu, 7 Jan 2010 06:35:21 +0000 (01:35 -0500)
committerDave Airlie <airlied@redhat.com>
Fri, 8 Jan 2010 03:05:16 +0000 (13:05 +1000)
commitfc9a89f97e532152ae614d5ce717b81c8f8b0e91
treec669c9a18e8667ce1b3d031a9774f570fa7cd03a
parent196c58d21fc47fbabab6a98e23e5a6335f717e44
drm/radeon: fix a couple of array index errors

There are a couple of array overruns, and some associated confusion in
the code.
This is just a wild guess at what the code should actually look like.

Coverity CID: 13305 13306

agd5f: fix up the original intent of the timing code

Signed-off-by: Darren Jenkins <darrenrjenkins@gmail.com>
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_legacy_tv.c