Messages in this thread | | | Date | Fri, 25 Nov 2022 16:02:22 -0800 | From | Andrew Morton <> | Subject | Re: [PATCH 0/1] Slightly relax the type checking done by min() and max(). |
| |
On Fri, 25 Nov 2022 19:47:14 +0000 David Laight <David.Laight@ACULAB.COM> 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.
| |