diff options
author | Bhawanpreet Lakha <[email protected]> | 2018-10-04 12:11:28 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2018-11-05 14:20:50 -0500 |
commit | 9f4f9fddc00c1aae7ec7abe0ddfddea78a9be7ce (patch) | |
tree | d562f25d724af8611e9e70021116911b1e213195 | |
parent | 649e34acb4c902e074ec186c7d720810c5400bad (diff) |
drm/amd/display: explicit uint64_t casting
explicitly cast uint64_t in div64_u64_rem()
Signed-off-by: vikrant mhaske <[email protected]>
Signed-off-by: Bhawanpreet Lakha <[email protected]>
Reviewed-by: Charlene Liu <[email protected]>
Acked-by: Bhawanpreet Lakha <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/inc/bw_fixed.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/bw_fixed.h b/drivers/gpu/drm/amd/display/dc/inc/bw_fixed.h index 39ee8eba3c31..d1656c9d50df 100644 --- a/drivers/gpu/drm/amd/display/dc/inc/bw_fixed.h +++ b/drivers/gpu/drm/amd/display/dc/inc/bw_fixed.h @@ -126,7 +126,7 @@ static inline struct bw_fixed bw_div(const struct bw_fixed arg1, const struct bw static inline struct bw_fixed bw_mod(const struct bw_fixed arg1, const struct bw_fixed arg2) { struct bw_fixed res; - div64_u64_rem(arg1.value, arg2.value, &res.value); + div64_u64_rem(arg1.value, arg2.value, (uint64_t *)&res.value); return res; } |