On Tue, Jan 28, 2020 at 7:15 AM Qian Cai <cai@xxxxxx> wrote: > > Should be fixed by > > > > https://lore.kernel.org/linux-efi/20200121093912.5246-1-ardb@xxxxxxxxxx/ > > Cc kasan-devel@ > > If everyone has to disable KASAN for the whole subdirectories like this, I am worried about we are losing testing coverage fairly quickly. Is there a bug in compiler? My understanding is that this is invalid C code in the first place, no? It just happened to compile with some compilers, some options and probably only with high optimization level. There is a known, simple fix that is used throughout the kernel - provide empty static inline stub, or put whole calls under ifdef.