Re: [PATCH V3] mips-next: Enable KCSAN

From: Thomas Bogendoerfer
Date: Tue Feb 22 2022 - 03:47:59 EST


On Mon, Feb 21, 2022 at 01:12:25PM +0100, Nemanja Rakovic wrote:
> Replaces KASAN_SANITIZE with KCSAN_SANITIZE in
> boot/compressed/Makefile.
>
> Fixes: e0a8b93efa23 mips: Enable KCSAN
> Signed-off-by: Nemanja Rakovic <nemanja.rakovic@xxxxxxxxxx>
> ---
> arch/mips/boot/compressed/Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/mips/boot/compressed/Makefile b/arch/mips/boot/compressed/Makefile
> index a35f78212ea9..6cc28173bee8 100644
> --- a/arch/mips/boot/compressed/Makefile
> +++ b/arch/mips/boot/compressed/Makefile
> @@ -38,7 +38,7 @@ KBUILD_AFLAGS := $(KBUILD_AFLAGS) -D__ASSEMBLY__ \
> KCOV_INSTRUMENT := n
> GCOV_PROFILE := n
> UBSAN_SANITIZE := n
> -KASAN_SANITIZE := n
> +KCSAN_SANITIZE := n
>
> # decompressor objects (linked with vmlinuz)
> vmlinuzobjs-y := $(obj)/head.o $(obj)/decompress.o $(obj)/string.o $(obj)/bswapsi.o
> --
> 2.17.1

applied to mips-next.

Thomas.

--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]