Hello Fabrizio, On Thu, Feb 08, 2024 at 11:24:09PM +0000, Fabrizio Castro wrote: > +static inline u64 rzv2m_pwm_mul_u64_u64_div_u64_roundup(u64 a, u64 b, u64 c) > +{ > + u64 ab = a * b; This might overflow. > + return ab / c + (ab % c ? 1 : 0); This division triggered the kernel build bot error. If you want to divide a u64, you must not use /. Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | https://www.pengutronix.de/ |
Attachment:
signature.asc
Description: PGP signature