Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drm/arise: cbios: donot implicit truncation from 'int' to bit-field
Fix follow compile error with clang-19: drivers/gpu/drm/arise/cbios/Device/Monitor/EDPPanel/CBiosITN156.c:136:22: error: implicit truncation from 'int' to bit-field changes value from 2 to 0 [-Werror,-Wbitfield-constant-conversion] 136 | /*.Flags = */0x2,//backlight control = 0, use hard code link para | ^~~ 1 error generated. According to the comments, 'Flags' should be 0. Signed-off-by: WangYuli <[email protected]>
- Loading branch information