summaryrefslogtreecommitdiff
path: root/drivers/media/platform/mtk-vcodec
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2019-03-25 05:06:26 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-03-29 07:40:45 -0400
commitd7a955c8ef7cd8fecfd9e900c47f72e67dfcc49a (patch)
tree51bcaba2f9b4419dc395ff0ccf74791f95ca17cc /drivers/media/platform/mtk-vcodec
parent0e633f97162c1c74c68e2eb20bbd9259dce87cd9 (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 <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 'drivers/media/platform/mtk-vcodec')
0 files changed, 0 insertions, 0 deletions