[PATCH RFC v2 5/5] lib/Kconfig.debug: introduce CONFIG_NO_AUTO_INLINE

Bart Van Assche bvanassche at acm.org
Wed Apr 16 09:04:58 PDT 2025


On 4/16/25 2:44 AM, Chen Linxuan via B4 Relay wrote:
> 2. Make it depends on X86 and LOONGARCH,
>     as I haven't test other architectures

That sounds weird to me. Shouldn't this option be made architecture-
independent?

> +config NO_AUTO_INLINE
> +	bool "Disable compiler auto-inline optimizations (EXPERIMENTAL)"
> +	default n
> +	depends on CC_IS_GCC && (X86 || LOONGARCH)

Why "depends on CC_IS_GCC"? Please make sure that both gcc and clang are
supported.

Thanks,

Bart.



More information about the Linux-nvme mailing list