diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-03-22 14:02:21 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-03-23 06:28:42 -0400 |
commit | 912d2f8228be077a1743adb797ada1dfcfe99c81 (patch) | |
tree | 5e556862760e131d3c6c26eff0aa500ad55ca64f /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 1a086879fdd37d9e4c3dd4e49fac62f7e418e17e (diff) |
media: v4l2-ioctl: fix some "too small" warnings
While the code there is right, it produces three false positives:
drivers/media/v4l2-core/v4l2-ioctl.c:2868 video_usercopy() error: copy_from_user() 'parg' too small (128 vs 16383)
drivers/media/v4l2-core/v4l2-ioctl.c:2868 video_usercopy() error: copy_from_user() 'parg' too small (128 vs 16383)
drivers/media/v4l2-core/v4l2-ioctl.c:2876 video_usercopy() error: memset() 'parg' too small (128 vs 16383)
Store the ioctl size on a cache var, in order to suppress those.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions