aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJules Irenge <jbi.octave@gmail.com>2019-11-07 11:36:08 +0100
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-01-04 08:09:25 +0100
commit033c60a6e295b60989104c074c2a8a3d2d1fe3df (patch)
treee7003580fecdf894dae98fa07b045045148ce7a7 /drivers
parentmedia: ov5640: Fix check for PLL1 exceeding max allowed rate (diff)
downloadlinux-dev-033c60a6e295b60989104c074c2a8a3d2d1fe3df.tar.xz
linux-dev-033c60a6e295b60989104c074c2a8a3d2d1fe3df.zip
media: staging: ipu3: replace 0 with false
Replace 0 with false to clear warning of assignment of 0/1 to bool variable. Issue detected by coccinelle tool. Signed-off-by: Jules Irenge <jbi.octave@gmail.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/media/ipu3/ipu3-css.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/media/ipu3/ipu3-css.c b/drivers/staging/media/ipu3/ipu3-css.c
index fd1ed84c400c..f36de501edc6 100644
--- a/drivers/staging/media/ipu3/ipu3-css.c
+++ b/drivers/staging/media/ipu3/ipu3-css.c
@@ -1450,7 +1450,7 @@ bool imgu_css_pipe_queue_empty(struct imgu_css *css, unsigned int pipe)
bool imgu_css_queue_empty(struct imgu_css *css)
{
unsigned int pipe;
- bool ret = 0;
+ bool ret = false;
for (pipe = 0; pipe < IMGU_MAX_PIPE_NUM; pipe++)
ret &= imgu_css_pipe_queue_empty(css, pipe);