diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2011-04-30 14:46:11 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-05-20 14:30:45 +0200 |
commit | f411f103822379bab356345430f097bdae3440e5 (patch) | |
tree | 78a74656a8978e2021a8bdd0575ae9207cea7e96 /virt/kvm/ioapic.h | |
parent | [media] uvcvideo: Don't report unsupported menu entries (diff) | |
download | linux-f411f103822379bab356345430f097bdae3440e5.tar.xz linux-f411f103822379bab356345430f097bdae3440e5.zip |
[media] uvcvideo: Return -ERANGE when userspace sets an unsupported menu entry
Instead of passing the value down to the device and getting an error
back (or worse, crashing the firmware), return -ERANGE when the
requested menu entry is not supported.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'virt/kvm/ioapic.h')
0 files changed, 0 insertions, 0 deletions