diff options
author | Colin Ian King <colin.king@canonical.com> | 2021-01-22 15:00:22 +0000 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-01-25 17:47:05 -0500 |
commit | 5993e79398d35d665b4c84ecb79aba3b83a965cc (patch) | |
tree | bc0ed3766c8cc33df0fd3a444775dc330e869d65 /scripts/coccicheck | |
parent | eb3b425166cbdb942b7c38bd9998b97837bd6b29 (diff) | |
download | linux-5993e79398d35d665b4c84ecb79aba3b83a965cc.tar.bz2 |
drm/amdgpu: Fix masking binary not operator on two mask operations
Currently the ! operator is incorrectly being used to flip bits on
mask values. Fix this by using the bit-wise ~ operator instead.
Addresses-Coverity: ("Logical vs. bitwise operator")
Fixes: 3c9a7b7d6e7520 ("drm/amdgpu: update mmhub mgcg&ls for mmhub_v2_3")
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/coccicheck')
0 files changed, 0 insertions, 0 deletions