]> git.baikalelectronics.ru Git - kernel.git/commit
drm/virtio: fix uninitialized variable
authorGurchetan Singh <gurchetansingh@chromium.org>
Wed, 2 Sep 2020 21:08:26 +0000 (14:08 -0700)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 9 Sep 2020 06:54:20 +0000 (08:54 +0200)
commit53d3a0d09b1ddbf084e4aadeff851654f4d7cae7
treea167e6f638e21d8ac88dbf12a641d40d1bc9adf7
parent6683cdce29a62271c69c2a3cd57a3f0141249e71
drm/virtio: fix uninitialized variable

smatch reported this with the blob series:

drivers/gpu/drm/virtio/virtgpu_kms.c:227 virtio_gpu_init()
error: uninitialized symbol 'ret'.

Signed-off-by: Gurchetan Singh <gurchetansingh@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20200902210847.2689-3-gurchetansingh@chromium.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/gpu/drm/virtio/virtgpu_kms.c