summaryrefslogtreecommitdiff
path: root/drivers/media/v4l2-core/v4l2-ioctl.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-12-22 06:49:51 -0500
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-02-07 11:58:22 -0500
commit81a43d10b8ed0e165bbd1e134ca7261a9608f389 (patch)
tree0d66635d906bdd93086f084f3e14f65a5ca93cf0 /drivers/media/v4l2-core/v4l2-ioctl.c
parent505ecd35182f1ba006ada118c85deca22b88ebcb (diff)
media: staging: intel-ipu3: fix unsigned comparison with < 0
The comparison css->pipes[pipe].bindex < 0 is always false because bindex is an unsigned int. Fix this by using a signed integer for the comparison. Detected by CoverityScan, CID#1476023 ("Unsigned compared against 0") Fixes: f5f2e4273518 ("media: staging/intel-ipu3: Add css pipeline programming") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-ioctl.c')
0 files changed, 0 insertions, 0 deletions