diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-02-03 12:54:24 +0300 |
---|---|---|
committer | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2021-02-09 17:16:57 +0100 |
commit | 8d0cb8860a4551fa5998acd67ca6d9ce3015b1e2 (patch) | |
tree | ccf94c32e98fd880fe1a4d50d7fbc796b5df093c /include/drm | |
parent | e2e2e008f96e074abf29c5f76ed7d00ea73593ec (diff) | |
download | lwn-8d0cb8860a4551fa5998acd67ca6d9ce3015b1e2.tar.gz lwn-8d0cb8860a4551fa5998acd67ca6d9ce3015b1e2.zip |
drm/virtio: fix an error code in virtio_gpu_init()
If devm_request_mem_region() fails this code currently returns success
but it should return -EBUSY.
Fixes: 6076a9711dc5 ("drm/virtio: implement blob resources: probe for host visible region")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: http://patchwork.freedesktop.org/patch/msgid/YBpy0GS7GfmafMfe@mwanda
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
(cherry picked from commit eb988a2ee500d3297a1de048dc3c77b6c354e650)
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Diffstat (limited to 'include/drm')
0 files changed, 0 insertions, 0 deletions