summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorNathan Chancellor <natechancellor@gmail.com>2019-09-26 23:52:17 -0700
committerMichael Bestas <mkbestas@lineageos.org>2020-02-02 01:41:03 +0200
commit01b2f1a3534089c45fa64005bad31627f0d9266d (patch)
treec8bc573e617b67ebfffaa7f18b0a544c69bd3f56 /scripts/gdb/linux/modules.py
parenta73e584b9e74f93e08914fdf9908d8581292fd26 (diff)
msm: mdss: Remove unnecessary parentheses in mdss_check_dsi_ctrl_status
Clang warns: ../drivers/video/fbdev/msm/dsi_status_6g.c:171:44: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((pstatus_data->mfd->panel_power_state == MDSS_PANEL_POWER_ON)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ../drivers/video/fbdev/msm/dsi_status_6g.c:171:44: note: remove extraneous parentheses around the comparison to silence this warning if ((pstatus_data->mfd->panel_power_state == MDSS_PANEL_POWER_ON)) { ~ ^ ~ ../drivers/video/fbdev/msm/dsi_status_6g.c:171:44: note: use '=' to turn this equality comparison into an assignment if ((pstatus_data->mfd->panel_power_state == MDSS_PANEL_POWER_ON)) { ^~ = 1 warning generated. Fixes: b9095befda98 ("msm: mdss: add support for different panel power states") Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions