Re: [PATCH v2] drm/edid: Distribute switch variables for initialization

2020-03-16 Thread Daniel Vetter
On Fri, Mar 06, 2020 at 09:32:13AM -0800, Kees Cook wrote: > Variables declared in a switch statement before any case statements > cannot be automatically initialized with compiler instrumentation (as > they are not part of any execution flow). With GCC's proposed automatic > stack variable initial

Re: [PATCH v2] drm/edid: Distribute switch variables for initialization

2020-03-07 Thread Nick Desaulniers
On Fri, Mar 6, 2020 at 9:36 AM Nick Desaulniers wrote: > > On Fri, Mar 6, 2020 at 9:32 AM Kees Cook wrote: > > > > Variables declared in a switch statement before any case statements > > cannot be automatically initialized with compiler instrumentation (as > > they are not part of any execution f

Re: [PATCH v2] drm/edid: Distribute switch variables for initialization

2020-03-07 Thread Nick Desaulniers
On Fri, Mar 6, 2020 at 9:32 AM Kees Cook wrote: > > Variables declared in a switch statement before any case statements > cannot be automatically initialized with compiler instrumentation (as > they are not part of any execution flow). With GCC's proposed automatic > stack variable initialization