forked from luck/tmp_suning_uos_patched
[media] ivtv: Fix sparse warning regarding a user pointer in ivtv_write_vbi_from_user()
Fix the first, botched attempt at preventing direct use of a user pointer in ivtv_write_vbi(). Reported-by: Dr. David Alan Gilbert <linux@treblig.org> Signed-off-by: Andy Walls <awalls@md.metrocast.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
793e71b667
commit
0d44b1235c
|
@ -174,7 +174,7 @@ ivtv_write_vbi_from_user(struct ivtv *itv,
|
|||
ret = -EFAULT;
|
||||
break;
|
||||
}
|
||||
ivtv_write_vbi_line(itv, sliced + i, &cc, &found_cc);
|
||||
ivtv_write_vbi_line(itv, &d, &cc, &found_cc);
|
||||
}
|
||||
|
||||
if (found_cc)
|
||||
|
|
Loading…
Reference in New Issue
Block a user