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)
commit4d8d4869101590909fcf4bdb8fea8a9affdd2b94
tree24cccb03aec5ef404ae18203d873397c53502733
parente19d341174b6795577982ad6e2925898d347e841
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