]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: Use bitwise instead of arithmetic operator for flags
authorChen Zhou <chenzhou10@huawei.com>
Fri, 21 Feb 2020 12:21:39 +0000 (20:21 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 26 Feb 2020 19:17:33 +0000 (14:17 -0500)
commite36124e050630cf3e661fc36395eb4009a7adc46
treecf6c685d3fa2086a51296cea764419aa7e75b567
parent9ce06b6221a8e8bc38f6506ad51651a813ea17e7
drm/amd/powerplay: Use bitwise instead of arithmetic operator for flags

This silences the following coccinelle warning:

"WARNING: sum of probable bitmasks, consider |"

Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Chen Zhou <chenzhou10@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c