On Wed, Aug 14, 2024 at 6:11 PM <andrey.konovalov@xxxxxxxxx> wrote: > > When KASAN support was being added to the Linux kernel, GCC did not yet > support all of the KASAN-related compiler options. Thus, the KASAN > Makefile had to probe the compiler for supported options. > > Nowadays, the Linux kernel GCC version requirement is 5.1+, and thus we > don't need the probing of the -fasan-shadow-offset parameter: it exists in > all 5.1+ GCCs. > > Simplify the KASAN Makefile to drop CFLAGS_KASAN_MINIMAL. > > Also add a few more comments and unify the indentation. > > Signed-off-by: Andrey Konovalov <andreyknvl@xxxxxxxxx> Applied to `rust-next` for the Rust KASAN patch series. Thanks everyone! (Andrew is also carrying it, but we agreed to do that). Cheers, Miguel