diff options
| author | Mauro Carvalho Chehab <[email protected]> | 2016-04-23 09:21:09 +0000 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2016-04-25 12:45:50 +0000 |
| commit | 363d79f1d5bd09158cc28db543ca18549a5d7e52 (patch) | |
| tree | 24446e06f7dd775a6940d94d4a2b39820f122ba2 /drivers/media/v4l2-core/v4l2-subdev.c | |
| parent | [media] Documentation: video4linux: fix spelling mistakes (diff) | |
| download | kernel-363d79f1d5bd09158cc28db543ca18549a5d7e52.tar.gz kernel-363d79f1d5bd09158cc28db543ca18549a5d7e52.zip | |
[media] tw686x: Don't go past array
Depending on the compiler version, currently it produces the
following warnings:
tw686x-video.c: In function 'tw686x_video_init':
tw686x-video.c:65:543: warning: array subscript is above array bounds [-Warray-bounds]
This is actually bogus with the current code, as it currently
hardcodes the framerate to 30 frames/sec, however a potential
use after the array size could happen when the driver adds support
for setting the framerate. So, fix it.
Acked-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-subdev.c')
0 files changed, 0 insertions, 0 deletions
