forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/drivers/gpu/drm/amd/display/dc/inc/bw_fixed.h
....@@ -126,7 +126,7 @@
126126 static inline struct bw_fixed bw_mod(const struct bw_fixed arg1, const struct bw_fixed arg2)
127127 {
128128 struct bw_fixed res;
129
- div64_u64_rem(arg1.value, arg2.value, &res.value);
129
+ div64_u64_rem(arg1.value, arg2.value, (uint64_t *)&res.value);
130130 return res;
131131 }
132132