Re: [PATCH next v4 0/5] minmax: Relax type checks in min() and max().

From: Dan Carpenter
Date: Fri Jan 12 2024 - 04:13:54 EST


I've often wondered why so many people use min_t(int, size, limit) when
they really do not want negative sizes... Is there a performance reason?
git grep 'min_t(int,' says there are 872 instances of this. Probably
some do want negatives but it's a quite small percent.

regards,
dan carpenter