Re: [PATCH] omapfb: don't annotate dss_conv_list as __initdata

2020-05-05 Thread Arnd Bergmann
On Tue, May 5, 2020 at 4:12 PM 'Marco Elver' via Clang Built Linux wrote: > On Tue, 5 May 2020 at 16:04, Arnd Bergmann wrote: > > With the kcsan changes, __read_once_size() is not inlined, but > > clang can decide to emit a version that hardcodes the address, which > > in turn triggers a warning

[PATCH] omapfb: don't annotate dss_conv_list as __initdata

2020-05-05 Thread Arnd Bergmann
With the kcsan changes, __read_once_size() is not inlined, but clang can decide to emit a version that hardcodes the address, which in turn triggers a warning for dss_conv_list being __initdata but __read_once_size() not being __init: WARNING: modpost: vmlinux.o(.text+0x6e4d7a): Section mismatch i