Re: [PATCH v4 1/2] kernel.h: Introduce const_max() for VLA removal

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
2018-03-15 23:47:38
Also in
lkml, netdev
Reply to
Linus Torvalds, 2018-03-15
On Thu, Mar 15, 2018 at 4:46 PM, Linus Torvalds
[off-list ref] wrote:
Well, the explicit typing allows that mixing, in that you can just
have "const_max_t(5,sizeof(x))"
I obviously meant "const_max_t(size_t,5,sizeof(x))". Heh.

                Linus
Thread (19 messages) 19 messages, 5 authors, last reply 2018-03-16
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