Re: [PATCH v5] iio: adc: pac1934: validate ACPI _DSM return type and bounds

From: Andy Shevchenko

Date: Sat Oct 31 2026 - 10:43:48 EST


On Fri, Oct 30, 2026 at 04:32:51PM +0000, Marius.Cristea@xxxxxxxxxxxxx wrote:
> On Fri, 2026-10-30 at 12:35 +0000, Tristan Madani wrote:

> Reviewed-by: Marius Cristea <marius.cristea@xxxxxxxxxxxxx>

Thanks for the review, but we don't allow min_t() without very good
justifications. This code doesn't need that macro to be used. The author
of the code should first get a bit familiar with types and integer
promotions in C programming language to understand what's going on here.

--
With Best Regards,
Andy Shevchenko