Re: Proposal: rename min/max -> umin/umax

2018-08-05 Thread Jason Thorpe
> On Aug 5, 2018, at 9:32 AM, Taylor R Campbell > wrote: > > I propose we rename libkern's min/max to umin/umax. The names min and > max invite general use like MIN and MAX, but these functions truncate > their arguments to unsigned first. We also have imin/imax, lmin/lmax, > and

Proposal: rename min/max -> umin/umax

2018-08-05 Thread Taylor R Campbell
I propose we rename libkern's min/max to umin/umax. The names min and max invite general use like MIN and MAX, but these functions truncate their arguments to unsigned first. We also have imin/imax, lmin/lmax, and ulmin/ulmax. This came to my attention while working on a drmkms update, where