Re: [PATCH v2 16/17] arm64: disable SCS for hypervisor code

From: Sami Tolvanen
Date: Fri Oct 25 2019 - 15:24:48 EST


On Thu, Oct 24, 2019 at 6:31 PM Masahiro Yamada
<yamada.masahiro@xxxxxxxxxxxxx> wrote:
> $(subst ... ) is not the correct use here.
>
> It works like sed, s/$(CC_CFLAGS_SCS)//
> instead of matching by word.
>
>
>
>
> KBUILD_CFLAGS := $(filter-out $(CC_FLAGS_SCS), $(KBUILD_CFLAGS))
>
> is more correct, and simpler.

Thanks, I will change this in v3.

Sami