Re: [PATCH] kbuild: remove KBUILD_ENABLE_EXTRA_GCC_CHECKS support

From: Nathan Chancellor
Date: Tue Feb 18 2025 - 13:43:50 EST


On Mon, Feb 17, 2025 at 08:36:48PM +0900, Masahiro Yamada wrote:
> Commit e27128db6283 ("kbuild: rename KBUILD_ENABLE_EXTRA_GCC_CHECKS to
> KBUILD_EXTRA_WARN") renamed KBUILD_ENABLE_EXTRA_GCC_CHECKS in 2019.
> The migration in downstream code should be complete.
>
> Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx>

Seems reasonable.

Reviewed-by: Nathan Chancellor <nathan@xxxxxxxxxx>

> ---
>
> Makefile | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/Makefile b/Makefile
> index 96407c1d6be1..3c1b012a156f 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -151,9 +151,6 @@ endif
>
> export KBUILD_EXTMOD
>
> -# backward compatibility
> -KBUILD_EXTRA_WARN ?= $(KBUILD_ENABLE_EXTRA_GCC_CHECKS)
> -
> ifeq ("$(origin W)", "command line")
> KBUILD_EXTRA_WARN := $(W)
> endif
> --
> 2.43.0
>