diff options
author | kbuild test robot <fengguang.wu@intel.com> | 2018-07-25 20:57:00 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-08-03 02:01:38 +0300 |
commit | f46bdacdc06a2256187f98d7d063d1bd5c318b12 (patch) | |
tree | 84697fc6428818ac69575221ee792d6cd259a5fd /drivers/media/dvb-frontends | |
parent | 73fc60aa6386ecb4201908be42241dcbd790d556 (diff) | |
download | linux-f46bdacdc06a2256187f98d7d063d1bd5c318b12.tar.xz |
media: omap2: omapfb: fix bugon.cocci warnings
drivers/video/fbdev/omap2/omapfb/dss/dss_features.c:895:2-5: WARNING: Use BUG_ON instead of if condition followed by BUG.
Please make sure the condition has no side effects (see conditional BUG_ON definition in include/asm-generic/bug.h)
Use BUG_ON instead of a if condition followed by BUG.
Semantic patch information:
This makes an effort to find cases where BUG() follows an if
condition on an expression and replaces the if condition and BUG()
with a BUG_ON having the conditional expression of the if statement
as argument.
Generated by: scripts/coccinelle/misc/bugon.cocci
Signed-off-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/dvb-frontends')
0 files changed, 0 insertions, 0 deletions