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
From: Linus Torvalds <torvalds@linux-foundation.org>
Date: 2018-03-15 23:47:38
Also in:
lkml, netdev
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