[media] media: fix MEDIA_IOC_DEVICE_INFO return code
authorNicolas THERY <nicolas.thery@st.com>
Tue, 7 Aug 2012 08:24:59 +0000 (05:24 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 12 Aug 2012 10:57:57 +0000 (07:57 -0300)
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: Nicolas Thery <nicolas.thery@st.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

No differences found