[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <105E5DC2-1B23-40BF-95A1-1B8443575AF6@oracle.com>
Date: Fri, 30 Oct 2020 12:18:44 -0500
From: John Donnelly <john.p.donnelly@...cle.com>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: linux-kernel@...r.kernel.org, trix@...hat.com
Subject: Re: [PATCH 4.14 v2 ] platform/x86: Corrects warning: missing braces
around initializer
> On Oct 30, 2020, at 11:52 AM, Andy Shevchenko <andriy.shevchenko@...ux.intel.com> wrote:
>
> On Fri, Oct 30, 2020 at 08:55:01AM -0700, john.p.donnelly@...cle.com wrote:
>> From: John Donnelly <john.p.donnelly@...cle.com>
>>
>> The assignment statement of a local variable "struct tp_nvram_state s[2] = {0};
>> is not valid for all versions of compilers.
>
> I don't get the subject. IS it backport of existing change to v4.14, or you are
> trying to fix v4.14? If the latter is the case, it's not correct order. Try
> latest vanilla first (v5.10-rc1 as of today) and if there is still an issue,
> submit a patch.
Hi,
It is only intended for 4.14. Why would you back port a commit to a stable tree that emits warnings ?
>
>> Fixes: 515ded02bc4b ("platform/x86: thinkpad_acpi: initialize tp_nvram_state variable")
>>
>> Signed-off-by: John Donnelly <john.p.donnelly@...cle.com>
>
> Should not be blank line in between.
>
> --
> With Best Regards,
> Andy Shevchenko
>
>
Powered by blists - more mailing lists