diff options
author | kbuild test robot <fengguang.wu@intel.com> | 2018-07-31 13:06:58 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2018-07-31 13:06:58 +0200 |
commit | cb653fe849f9fdcf24ce3c612e3fb0da5e610241 (patch) | |
tree | 5d90aedd11d297db42f0a2a31b99cd9930b9480c /drivers/video/fbdev/nvidia | |
parent | fb: amifb: fix build warnings when not builtin (diff) | |
download | linux-cb653fe849f9fdcf24ce3c612e3fb0da5e610241.tar.xz linux-cb653fe849f9fdcf24ce3c612e3fb0da5e610241.zip |
fbdev: omap2: omapfb: fix boolreturn.cocci warnings
drivers/video/fbdev/omap2/omapfb/omapfb-main.c:290:9-10: WARNING: return of 0/1 in function 'cmp_var_to_colormode' with return type bool
Return statements in functions returning bool should use
true/false instead of 1/0.
Generated by: scripts/coccinelle/misc/boolreturn.cocci
Fixes: 7378f1149884 ("media: omap2: omapfb: allow building it with COMPILE_TEST")
Signed-off-by: kbuild test robot <fengguang.wu@intel.com>
Cc: Mauro Carvalho Chehab <m.chehab@samsung.com>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'drivers/video/fbdev/nvidia')
0 files changed, 0 insertions, 0 deletions