Skip to content
Commit eb988a2e authored by Dan Carpenter's avatar Dan Carpenter Committed by Gerd Hoffmann
Browse files

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: 6076a971

 ("drm/virtio: implement blob resources: probe for host visible region")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Link: http://patchwork.freedesktop.org/patch/msgid/YBpy0GS7GfmafMfe@mwanda
Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
parent 5823cca3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment