aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
diff options
context:
space:
mode:
authorJing Yangyang <[email protected]>2021-08-24 05:52:32 +0000
committerAlex Deucher <[email protected]>2021-08-30 18:59:33 +0000
commitfbd2a6003a259fe12750ceb5efc47432c3cc7ce4 (patch)
treea3667e335d2272ad789753134c877b119c13f58c /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
parentMerge tag 'amd-drm-next-5.15-2021-08-27' of https://gitlab.freedesktop.org/ag... (diff)
downloadkernel-fbd2a6003a259fe12750ceb5efc47432c3cc7ce4.tar.gz
kernel-fbd2a6003a259fe12750ceb5efc47432c3cc7ce4.zip
drm:dcn31: fix boolreturn.cocci warnings
./drivers/gpu/drm/amd/display/dc/dcn31/dcn31_panel_cntl.c:112:9-10:WARNING: return of 0/1 in function 'dcn31_is_panel_backlight_on' with return type bool ./drivers/gpu/drm/amd/display/dc/dcn31/dcn31_panel_cntl.c:122:9-10:WARNING: return of 0/1 in function 'dcn31_is_panel_powered_on' 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 Reported-by: Zeal Robot <[email protected]> Signed-off-by: Jing Yangyang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions