diff options
author | Dan Carpenter <error27@gmail.com> | 2010-04-27 23:11:03 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-04-28 10:41:31 +0200 |
commit | 22fb573affe51845622c4763653f60e130f80586 (patch) | |
tree | c3dbab6233d9061e2e184b96978b02f0b2f172fc /drivers/gpu/drm/drm_memory.c | |
parent | drm/radeon/kms/agp The wrong AGP chipset can cause a NULL pointer dereference (diff) | |
download | linux-22fb573affe51845622c4763653f60e130f80586.tar.xz linux-22fb573affe51845622c4763653f60e130f80586.zip |
drivers/gpu/drm/via/via_video.c: fix off by one issue
"fx->lock" is used as the index in "dev_priv->decoder_queue[fx->lock]"
which is an array of "VIA_NR_XVMC_LOCKS" elements.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions