diff mbox series

kbuild: remove KBUILD_ENABLE_EXTRA_GCC_CHECKS support

Message ID 20250217113706.1012816-1-masahiroy@kernel.org (mailing list archive)
State New
Headers show
Series kbuild: remove KBUILD_ENABLE_EXTRA_GCC_CHECKS support | expand

Commit Message

Masahiro Yamada Feb. 17, 2025, 11:36 a.m. UTC
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@kernel.org>
---

 Makefile | 3 ---
 1 file changed, 3 deletions(-)

Comments

Nathan Chancellor Feb. 18, 2025, 6:41 p.m. UTC | #1
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@kernel.org>

Seems reasonable.

Reviewed-by: Nathan Chancellor <nathan@kernel.org>

> ---
> 
>  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
>
diff mbox series

Patch

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