Re: [PATCH] dell-smbios: fix string overflow

From: Arnd Bergmann
Date: Wed Nov 08 2017 - 15:02:44 EST


On Wed, Nov 8, 2017 at 8:03 PM, Andy Shevchenko
<andy.shevchenko@xxxxxxxxx> wrote:
> On Wed, Nov 8, 2017 at 8:30 PM, <Mario.Limonciello@xxxxxxxx> wrote:
>
> % make W=1
>
> which implies some warning, W=2 a lot more.
>
> [1]: http://patches.linaro.org/cover/107779/
>
> [2]: commit bd664f6b3e376a8ef4990f87d08271cc2d01ba9a
> Author: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
> Date: Wed Jul 12 19:25:47 2017 -0700
>
> disable new gcc-7.1.1 warnings for now

I have reverted that patch locally and this is the first time I
actually hit a warning
since it landed, but that reminds me that I should check whether all my
workarounds have landed in mainline and we are ready to turn it on globally
again.

Arnd