Re: [PATCH 2/3] kconfig: detect recursive inclusion earlier

From: Masahiro Yamada
Date: Mon Mar 26 2018 - 11:25:52 EST


2018-03-23 2:00 GMT+09:00 Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>:
> Currently, the recursive inclusion is not detected when the offending
> file is about to be included; it is detected the offending file is
> about to include the *next* file. This is because the detection loop
> does not involve the file being included.
>
> Do this check against the file that is about to be included so that
> the recursive inclusion is detected before unneeded parsing happens.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>
> ---

Applied to linux-kbuild/kconfig.


--
Best Regards
Masahiro Yamada