Re: [PATCH] kallsyms: work around bogus -Wrestrict warning

From: Oleksandr Natalenko
Date: Wed Jan 08 2020 - 04:23:11 EST


Hi.

On Tue, Jan 07, 2020 at 02:25:12PM -0800, Andrew Morton wrote:
> gee, is that even worth "fixing"? Oleksandr, I've seen a couple of
> these false positives. Do we know if anyone is taking them to the gcc
> developers?

I'm not aware of such an effort. I tend to blame compiler as an option
of last resort, but if Arnd gathers enough examples (since he's working
on fixing/working around those), it would be reasonable to suggest him to
hand over those findings to gcc bugtracker.

--
Best regards,
Oleksandr Natalenko (post-factum)
Senior Software Maintenance Engineer