Re: [PATCH 0/1] Slightly relax the type checking done by min() and max().

From: Andrew Morton
Date: Fri Nov 25 2022 - 19:02:30 EST


On Fri, 25 Nov 2022 19:47:14 +0000 David Laight <David.Laight@xxxxxxxxxx> wrote:

> > Blindly relaxing the rules is not an option in my opinion.
>
> The point is I'm not really relaxing the rules.
> If anything I'm actually tightening them by allowing min() to
> be used in more cases - so letting the buggy min_t() casts be
> removed at some point in the future.

That sounds very virtuous.

It would be helpful to see a few "convert min_t to min" patches
to see this proposal in action.