Re: x86/MCE: drop bogus const modifier from AMD's bank4_names()

From: Jan Beulich
Date: Fri Jan 23 2015 - 05:05:48 EST


>>> On 23.01.15 at 10:58, <bp@xxxxxxxxx> wrote:
> On Fri, Jan 23, 2015 at 08:32:01AM +0000, Jan Beulich wrote:
>> The compiler validly warns about it being ignored.
>>
>> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
>
> Applied, thanks.
>
> Out of curiosity: When do you see this? Building with
> -Wignored-qualifiers or -Wextra?

It's been a long while ago that I noticed and fixed the warning, so
I don't recall the details. What I do know is that I didn't force any
extra flags, and that a similar issue elsewhere in the tree (fixed
in 3.19-rc5) triggered the same warning in at least one of my builds
(again without any extra warning options) in -rc4.

Jan

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/