]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: use true, false for bool variable in smu7_hwmgr.c
authorzhengbin <zhengbin13@huawei.com>
Wed, 22 Jan 2020 07:53:11 +0000 (15:53 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Jan 2020 21:46:44 +0000 (16:46 -0500)
commit7d80e2768d820bc952f1463ee6f4f2e7920a87b7
tree2ecb540fb64c83fb21219c39ae5786af9af2688d
parentb2de35a9d692e4100714bbca43d9252380ee71ca
drm/amd/powerplay: use true, false for bool variable in smu7_hwmgr.c

Fixes coccicheck warning:

drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c:723:2-50: WARNING: Assignment of 0/1 to bool variable
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c:733:3-52: WARNING: Assignment of 0/1 to bool variable
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c:747:3-51: WARNING: Assignment of 0/1 to bool variable

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c