Re: [PATCH hotfix 6.11] minmax: reduce egregious min/max macro expansion

From
Andrew Lunn <andrew@lunn.ch>
Date
2024-09-11 16:58:04
Also in
linux-media, linux-mm, linux-staging, lkml, stable
Reply to
Lorenzo Stoakes, 2024-09-11
quoted
I think that you can then also replace clamp_t() with clamp()
The use of clamp_t() is to avoid egregious macro expansion in
clamp(). After the series improving min/max the clamp() is probably
equivalent. But in 5.15 it will likely not be. So this is, in line with the
purpose of this change, I believe necesasry.
Maybe that should be in the commit message?

	Andrew
Thread (9 messages) 9 messages, 4 authors, last reply 2024-09-11
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help