Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drm/mwv207: add parentheses to evaluate the bitwise operator first
Fix a comlipe error with clang-19: drivers/gpu/drm/mwv207/mwv207_bo.c:165:6: error: logical not is only applied to the left hand side of this bitwise operator [-Werror,-Wlogical-not-parentheses] 165 | if (!jbo->flags & (1<<0)) | ^ ~ drivers/gpu/drm/mwv207/mwv207_bo.c:165:6: note: add parentheses after the '!' to evaluate the bitwise operator first 165 | if (!jbo->flags & (1<<0)) | ^ | ( ) drivers/gpu/drm/mwv207/mwv207_bo.c:165:6: note: add parentheses around left hand side expression to silence this warning 165 | if (!jbo->flags & (1<<0)) | ^ | ( ) 1 error generated. Signed-off-by: WangYuli <[email protected]>
- Loading branch information