public inbox for linux-kbuild@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kbuild: remove KBUILD_ENABLE_EXTRA_GCC_CHECKS support
@ 2025-02-17 11:36 Masahiro Yamada
  2025-02-18 18:41 ` Nathan Chancellor
  0 siblings, 1 reply; 2+ messages in thread
From: Masahiro Yamada @ 2025-02-17 11:36 UTC (permalink / raw)
  To: linux-kbuild
  Cc: linux-kernel, Masahiro Yamada, Nathan Chancellor, Nicolas Schier

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(-)

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] kbuild: remove KBUILD_ENABLE_EXTRA_GCC_CHECKS support
  2025-02-17 11:36 [PATCH] kbuild: remove KBUILD_ENABLE_EXTRA_GCC_CHECKS support Masahiro Yamada
@ 2025-02-18 18:41 ` Nathan Chancellor
  0 siblings, 0 replies; 2+ messages in thread
From: Nathan Chancellor @ 2025-02-18 18:41 UTC (permalink / raw)
  To: Masahiro Yamada; +Cc: linux-kbuild, linux-kernel, Nicolas Schier

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
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-02-18 18:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-17 11:36 [PATCH] kbuild: remove KBUILD_ENABLE_EXTRA_GCC_CHECKS support Masahiro Yamada
2025-02-18 18:41 ` Nathan Chancellor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox