Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drm/arise: remove extraneous parentheses around the comparison
Fix follow error with clang-19: drivers/gpu/drm/arise/cbios/Device/Monitor/CBiosHDMIMonitor.c:200:44: error: equality comparison with extraneous parentheses [-Werror,-Wparentheses-equality] 200 | if((pAVIInfoFrameData->ColorFormat == 0))//RGB | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ drivers/gpu/drm/arise/cbios/Device/Monitor/CBiosHDMIMonitor.c:200:44: note: remove extraneous parentheses around the comparison to silence this warning 200 | if((pAVIInfoFrameData->ColorFormat == 0))//RGB | ~ ^ ~ drivers/gpu/drm/arise/cbios/Device/Monitor/CBiosHDMIMonitor.c:200:44: note: use '=' to turn this equality comparison into an assignment 200 | if((pAVIInfoFrameData->ColorFormat == 0))//RGB | ^~ | = 1 error generated. Signed-off-by: WangYuli <[email protected]>
- Loading branch information