Re: [PATCH v6 3/5] units: add conversion macros for percentage related units

From: Andy Shevchenko

Date: Mon Jan 19 2026 - 02:57:33 EST


On Mon, Jan 19, 2026 at 09:54:42AM +0200, Andy Shevchenko wrote:
> On Wed, Jan 14, 2026 at 06:27:03AM -0300, Jonathan Santos wrote:
> > Add macros to convert between ratio and percentage related units,
> > including percent (1/100), permille (1/1,000), permyriad (1/10,000,
> > also equivalent to one Basis point) and per cent mille (1/100,000).
> > Those are Used for precise fractional calculations in engineering,
> > finance, and measurement applications.
>
> This version LGTM,
> Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>

FWIW, we have one dup
drivers/net/wireless/realtek/rtw89/phy.h:93:#define PERCENT 100

But since the type and value is the same it can be addressed later on.

--
With Best Regards,
Andy Shevchenko