]> git.karo-electronics.de Git - linux-beck.git/commit
drm/virtio: annotate virtio_gpu_queue_ctrl_buffer_locked
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 5 Dec 2016 20:39:30 +0000 (22:39 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 15 Dec 2016 04:59:17 +0000 (06:59 +0200)
commit3373755a415c9c8024d26cf32fd812a8cdb82541
tree0364871bf2e6055337e56587a994761f120a1df6
parentf862e60f8d52dae33c9f72afc20fab691a89f0bd
drm/virtio: annotate virtio_gpu_queue_ctrl_buffer_locked

virtio_gpu_queue_ctrl_buffer_locked is called with ctrlq.qlock taken, it
releases and acquires this lock.  This causes a sparse warning.  Add
appropriate annotations for sparse context checking.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/gpu/drm/virtio/virtgpu_vq.c