Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b17d3945 authored by Nicolas THERY's avatar Nicolas THERY Committed by Mauro Carvalho Chehab
Browse files

[media] media: fix MEDIA_IOC_DEVICE_INFO return code



The MEDIA_IOC_DEVICE_INFO ioctl was returning a positive value rather
than a negative error code when failing to copy output parameter to
user-space.

Tested by compilation only.

Signed-off-by: default avatarNicolas Thery <nicolas.thery@st.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent ff54298b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment