Messages in this thread | | | From | Miguel Ojeda <> | Date | Wed, 14 Mar 2018 02:38:45 +0100 | Subject | Re: [PATCH] drivers: net: wireless: ath: ath9: dfs: remove VLA usage |
| |
On Sun, Mar 11, 2018 at 12:12 AM, Kees Cook <keescook@chromium.org> wrote: > > The problem is that it's not a "constant expression", so the compiler > frontend still yells about it under -Wvla. I would characterize this > mainly as a fix for "accidental VLA" or "misdetected VLA" or something > like that. AIUI, there really isn't a functional change here.
C++11's constexpr variables would be nice to have.
Cheers, Miguel
| |