diff options
| author | Colin Ian King <[email protected]> | 2018-12-22 11:49:51 +0000 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2019-02-07 16:58:22 +0000 |
| commit | 81a43d10b8ed0e165bbd1e134ca7261a9608f389 (patch) | |
| tree | 0d66635d906bdd93086f084f3e14f65a5ca93cf0 /drivers/media/platform/vimc/vimc-sensor.c | |
| parent | media: ipu3-imgu: Remove dead code for NULL check (diff) | |
| download | kernel-81a43d10b8ed0e165bbd1e134ca7261a9608f389.tar.gz kernel-81a43d10b8ed0e165bbd1e134ca7261a9608f389.zip | |
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 <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/platform/vimc/vimc-sensor.c')
0 files changed, 0 insertions, 0 deletions
