[lkml]   [2018]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC PATCH] compiler.h: give up __compiletime_assert_fallback()
On Tue, Aug 21, 2018 at 9:15 AM, Masahiro Yamada
<> wrote:
>> Note that there are a few definitions of BUILD_BUG_ON that still use
>> this negative array size trick. Should that pattern be removed from
>> them as well? See:
>> * arch/x86/boot/boot.h#L33
>> * include/linux/build_bug.h#L66
>> * tools/include/linux/kernel.h#L38
> At this moment, -Wvla is the warning-3 level
> in scripts/Makefile.extrawarn.

We're down to a handful of VLA uses, but I don't think the negative
cases should matter since they're _intended_ to break a compile.


Kees Cook
Pixel Security

 \ /
  Last update: 2018-08-21 21:05    [W:0.094 / U:0.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site