Re: [PATCHv3] drm/xe/display: use mul_u32_u32 for multiplying operands

2024-04-24 Thread Rodrigo Vivi
On Wed, Apr 10, 2024 at 08:18:10AM +0530, Arun R Murthy wrote: > Use mul_u32_u32 to avoid potential overflow in multiplying two u32 and > store the u64 result. > > v2: remove u64 typecast and use mul_u32_u32 (Ville) > v3: Reframe the commit message I still believe that the message is not that cl

[PATCHv3] drm/xe/display: use mul_u32_u32 for multiplying operands

2024-04-09 Thread Arun R Murthy
Use mul_u32_u32 to avoid potential overflow in multiplying two u32 and store the u64 result. v2: remove u64 typecast and use mul_u32_u32 (Ville) v3: Reframe the commit message Signed-off-by: Arun R Murthy --- drivers/gpu/drm/xe/display/xe_fb_pin.c | 10 +- 1 file changed, 5 insertions(