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

From: Linus Torvalds
Date: Thu Mar 15 2018 - 19:47:45 EST


On Thu, Mar 15, 2018 at 4:46 PM, Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> 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