diff options
| author | Dan Carpenter <[email protected]> | 2019-03-25 05:06:26 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2019-03-29 07:40:45 -0400 |
| commit | d7a955c8ef7cd8fecfd9e900c47f72e67dfcc49a (patch) | |
| tree | 51bcaba2f9b4419dc395ff0ccf74791f95ca17cc /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 0e633f97162c1c74c68e2eb20bbd9259dce87cd9 (diff) | |
media: v4l2-ctrl: potential shift wrapping bugs
This code generates a static checker warning:
drivers/media/v4l2-core/v4l2-ctrls.c:2921 v4l2_querymenu()
warn: should '(1 << i)' be a 64 bit type?
The problem is that "ctrl->menu_skip_mask" is a u64 and we're only
testing the lower 32 bits.
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Sakari Ailus <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions