]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - drivers/gpu/drm/virtio/virtgpu_kms.c
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)
commit1fb97413a3f754f28e24a136a49107e81e12f3fd
treea167e6f638e21d8ac88dbf12a641d40d1bc9adf7
parente219688fc5c3d0d9136f8d29d7e0498388f01440
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