Re: [PATCH] kcsan: fix section mismatch for __write_once_size/blacklisted_initcalls

From: Arnd Bergmann
Date: Tue May 05 2020 - 11:05:57 EST


On Tue, May 5, 2020 at 4:17 PM 'Marco Elver' via Clang Built Linux
<clang-built-linux@xxxxxxxxxxxxxxxx> wrote:
> On Tue, 5 May 2020 at 16:11, Arnd Bergmann <arnd@xxxxxxxx> wrote:
> > So far, my randconfig checks found two such instances, one for read_once
> > and one for write_once. There are probably a couple more in random
> > configurations, but I guess they are rare enough that we can just work
> > around them like this.
>
> [+Cc Will]
>
> Thanks for testing and fixing this. Note that this may no longer be
> necessary once Will's patches land. Also noted here:
> https://lkml.kernel.org/r/CANpmjNNw6M9Gqj6WGTHH4Cegu8roTVu5x6Vqs_tCBxX3gPwL4A@xxxxxxxxxxxxxx
>
> For reference, Will's series:
> https://lore.kernel.org/lkml/20200421151537.19241-1-will@xxxxxxxxxx/

Right, good point. If that is going to get merged for the same release, we don't
need my workarounds and I'll just keep them applied locally in my linux-next
randconfig tree for the moment.

Arnd