diff options
author | Dan Carpenter <error27@gmail.com> | 2010-06-04 07:34:40 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-08-02 15:28:51 -0300 |
commit | aac870a8770281c6ad619b538df77840b9513a0b (patch) | |
tree | 65c7b64f8c7200c64411e8eced9bfddd1e6f3751 /drivers/media/dvb/dvb-core/dvb_ca_en50221.c | |
parent | 398630e4edadac3d21519b8d009e30c3cdd91926 (diff) | |
download | op-kernel-dev-aac870a8770281c6ad619b538df77840b9513a0b.zip op-kernel-dev-aac870a8770281c6ad619b538df77840b9513a0b.tar.gz |
V4L/DVB: media/radio: fix copy_to_user to user handling
copy_to/from_user() returns the number of bytes remaining to be copied
but the code here was testing for negative returns. I modified it to
return -EFAULT. These functions are called from si4713_s_ext_ctrls() and
that only tests for negative error codes.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/dvb-core/dvb_ca_en50221.c')
0 files changed, 0 insertions, 0 deletions