diff options
| author | Nathan Chancellor <natechancellor@gmail.com> | 2019-09-27 00:04:45 -0700 |
|---|---|---|
| committer | Michael Bestas <mkbestas@lineageos.org> | 2020-02-02 01:41:03 +0200 |
| commit | 376e1111ab102886ba674e14562176ea72fcbd0a (patch) | |
| tree | bcda50d24229a7a131b3069f0d7e3f396698daae /scripts/gdb/linux/lists.py | |
| parent | d3040a7f2a95583cc0851b1707a8539dbb996d50 (diff) | |
msm: mdss: Remove unnecessary parentheses in is_valid_calib_dspp_addr
Clang warns:
../drivers/video/fbdev/msm/mdss_mdp_pp.c:6923:19: warning: equality
comparison with extraneous parentheses [-Wparentheses-equality]
} else if ((ptr == base + MDSS_MDP_REG_DSPP_DITHER_DEPTH)) {
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/video/fbdev/msm/mdss_mdp_pp.c:6923:19: note: remove
extraneous parentheses around the comparison to silence this warning
} else if ((ptr == base + MDSS_MDP_REG_DSPP_DITHER_DEPTH)) {
~ ^ ~
../drivers/video/fbdev/msm/mdss_mdp_pp.c:6923:19: note: use '=' to turn
this equality comparison into an assignment
} else if ((ptr == base + MDSS_MDP_REG_DSPP_DITHER_DEPTH)) {
^~
=
Fixes: 94d860d801b8 ("msm: mdss: Support post processing blocks address access")
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions
