2017-03-10 02:01:08

by Seung-Woo Kim

[permalink] [raw]
Subject: [RESEND][PATCH] Kbuild: fix file name in comment about extra gcc checks

Extra gcc checks like W=1 were moved to scripts/Makefile.exrawarn,
so the file name in comment needs to be fixed.

Signed-off-by: Seung-Woo Kim <[email protected]>
---
Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index 165cf97..faa9d26 100644
--- a/Makefile
+++ b/Makefile
@@ -707,7 +707,7 @@ KBUILD_CFLAGS += $(call cc-option, -fcatch-undefined-behavior)
else

# These warnings generated too much noise in a regular build.
-# Use make W=1 to enable them (see scripts/Makefile.build)
+# Use make W=1 to enable them (see scripts/Makefile.extrawarn)
KBUILD_CFLAGS += $(call cc-disable-warning, unused-but-set-variable)
KBUILD_CFLAGS += $(call cc-disable-warning, unused-const-variable)
endif
--
1.7.4.1


2017-03-11 05:47:43

by Masahiro Yamada

[permalink] [raw]
Subject: Re: [RESEND][PATCH] Kbuild: fix file name in comment about extra gcc checks

2017-03-10 11:01 GMT+09:00 Seung-Woo Kim <[email protected]>:
> Extra gcc checks like W=1 were moved to scripts/Makefile.exrawarn,
> so the file name in comment needs to be fixed.
>
> Signed-off-by: Seung-Woo Kim <[email protected]>
> ---
> Makefile | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/Makefile b/Makefile
> index 165cf97..faa9d26 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -707,7 +707,7 @@ KBUILD_CFLAGS += $(call cc-option, -fcatch-undefined-behavior)
> else
>
> # These warnings generated too much noise in a regular build.
> -# Use make W=1 to enable them (see scripts/Makefile.build)
> +# Use make W=1 to enable them (see scripts/Makefile.extrawarn)
> KBUILD_CFLAGS += $(call cc-disable-warning, unused-but-set-variable)
> KBUILD_CFLAGS += $(call cc-disable-warning, unused-const-variable)
> endif



Applied to linux-kbuild/kbuild.


Thanks!




--
Best Regards
Masahiro Yamada