diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2019-03-25 05:06:26 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-03-29 07:40:45 -0400 |
| commit | d7a955c8ef7cd8fecfd9e900c47f72e67dfcc49a (patch) | |
| tree | 51bcaba2f9b4419dc395ff0ccf74791f95ca17cc /tools/perf/scripts/python | |
| parent | media: davinci-isif: avoid uninitialized variable use (diff) | |
| download | linux-d7a955c8ef7cd8fecfd9e900c47f72e67dfcc49a.tar.gz linux-d7a955c8ef7cd8fecfd9e900c47f72e67dfcc49a.zip | |
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 <dan.carpenter@oracle.com>
Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
