Re: [PATCH] iio: imu: bmi323: use min_t() for watermark limit
From: Andy Shevchenko
Date: Mon Jun 08 2026 - 07:51:18 EST
On Sun, Jun 07, 2026 at 01:22:00PM +0000, Hungyu Lin wrote:
> Use min_t(u32, ...) instead of min() with an explicit cast to
> match the argument types and address a checkpatch.pl warning.
>
> No functional change intended.
NAK. min_t() has not to be used. Find a better alternative (see what David
said, for example).
--
With Best Regards,
Andy Shevchenko