Re: [PATCH] kbuild: merge list.h in modpost and kconfig

From: Masahiro Yamada
Date: Tue Aug 29 2023 - 09:16:55 EST


On Mon, Aug 21, 2023 at 12:35 PM Masahiro Yamada <masahiroy@xxxxxxxxxx> wrote:
>
> Move scripts/mod/list.h to scripts/include/list.h and remove
> scripts/kconfig/list.h. This removes the code duplication between
> scripts/mod/list.h and scripts/kconfig/list.h.
>
> Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx>
> ---


I will drop this patch for now.

It will break 'make xconfig'.


scripts/kconfig/list.h is not safe for C++.





--
Best Regards
Masahiro Yamada