]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: fix comparison pointer to bool warning in dc.c
authorTian Tao <tiantao6@hisilicon.com>
Tue, 29 Dec 2020 02:55:47 +0000 (10:55 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 5 Jan 2021 16:34:19 +0000 (11:34 -0500)
commitdc87dad054f219208a39e0cc9da4dcc4517abb32
treea904ed4c7bae2405f1f55a5f1b710d381f65dc3d
parentf0716e9bd0c40cd7b208f9ac28ae0eefffb5493a
drm/amd/display: fix comparison pointer to bool warning in dc.c

Fixes coccicheck warning:
drivers/gpu/drm/amd/display/dc/core/dc.c:1543:12-19: WARNING: Comparison
to bool
drivers/gpu/drm/amd/display/dc/core/dc.c:1496:14-42: WARNING: Comparison
to bool
drivers/gpu/drm/amd/display/dc/core/dc.c:971:15-48: WARNING: Comparison
to bool
drivers/gpu/drm/amd/display/dc/core/dc.c:976:15-44: WARNING: Comparison
to bool

Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c