diff options
author | Dan Carpenter <error27@gmail.com> | 2010-03-17 12:11:56 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-18 00:50:26 -0300 |
commit | d72d7c1df98628315298102dd1d442bcf24dc44c (patch) | |
tree | 2e64c508150b5af33876c9ce002f40bd2cbaf8f5 /drivers/video/clps711xfb.c | |
parent | 7a02264ca9ec5409e22b9d41f32b431d08eadbce (diff) |
V4L/DVB: ivtv: sizeof() => ARRAY_SIZE()
This fixes a smatch warning:
drivers/media/video/ivtv/ivtv-vbi.c +138 ivtv_write_vbi(43)
error: buffer overflow 'vi->cc_payload' 256 <= 1023
Signed-off-by: Dan Carpenter <error27@gmail.com>
Reviewed-by: Andy Walls <awalls@radix.net>
Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/video/clps711xfb.c')
0 files changed, 0 insertions, 0 deletions