Messages in this thread | | | From | Dmitry Vyukov <> | Date | Tue, 28 Jan 2020 07:25:59 +0100 | Subject | Re: mmotm 2020-01-23-21-12 uploaded (efi) |
| |
On Tue, Jan 28, 2020 at 7:15 AM Qian Cai <cai@lca.pw> wrote: > > Should be fixed by > > > > https://lore.kernel.org/linux-efi/20200121093912.5246-1-ardb@kernel.org/ > > 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.
| |