]> git.baikalelectronics.ru Git - kernel.git/commit
drm/virtio: unlock object array on errors
authorChia-I Wu <olvaffe@gmail.com>
Wed, 5 Feb 2020 18:19:49 +0000 (10:19 -0800)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 6 Feb 2020 10:58:18 +0000 (11:58 +0100)
commit58c555eeaca449c992e48f2517aef44d374983fa
tree24cccb03aec5ef404ae18203d873397c53502733
parenteb2595873c40d6bafbf7baeb9610f3d497da44f9
drm/virtio: unlock object array on errors

We don't propagate erros to the callers.  We have to unlock object
arrays on errors.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20200205181955.202485-6-olvaffe@gmail.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/gpu/drm/virtio/virtgpu_vq.c