Skip to content
Commit 22fb573a authored by Dan Carpenter's avatar Dan Carpenter Committed by Dave Airlie
Browse files

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: default avatarDan Carpenter <error27@gmail.com>
Acked-by: default avatarThomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent ccb2ad57
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment