Skip to content
Snippets Groups Projects
Commit 8edd037e authored by Dmitry Osipenko's avatar Dmitry Osipenko
Browse files

drm/virtio: Return proper error codes instead of -1


Don't return -1 in error cases, return proper error code. The returned
error codes propagate to error messages and to userspace and it's always
good to have a meaningful error number for debugging purposes.

Signed-off-by: default avatarDmitry Osipenko <dmitry.osipenko@collabora.com>
parent 96856af2
Branches
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment