]> 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)
commit96cdc0289b91cd9d110d4bf019c3c24e24ef6275
treea167e6f638e21d8ac88dbf12a641d40d1bc9adf7
parent5f9a8045452e835de6ee7a82f3854a73c4748f2b
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