diff options
author | Nathan Chancellor <nathan@kernel.org> | 2021-08-16 13:20:56 -0700 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2021-09-03 08:17:20 +0900 |
commit | 6272cc389fec78d1c0685599b8cad974476d89bb (patch) | |
tree | f10c430ffc21c0bf444d8fe8daed563826124117 /Makefile | |
parent | 5c6ae0efca8d7aeac02f8734825067cd9475a264 (diff) | |
download | linux-6272cc389fec78d1c0685599b8cad974476d89bb.tar.gz linux-6272cc389fec78d1c0685599b8cad974476d89bb.tar.bz2 linux-6272cc389fec78d1c0685599b8cad974476d89bb.zip |
kbuild: Shuffle blank line to improve comment meaning
-Wunused-but-set-variable and -Wunused-const-variable are both disabled
for the same reason but there is a blank line between them and no blank
line between -Wno-unused-const-variable and the block.
Shuffle the new line so that it is clear that the comment applied to
both flags and the next block is separate from them.
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -799,8 +799,8 @@ endif # These warnings generated too much noise in a regular 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) + ifdef CONFIG_FRAME_POINTER KBUILD_CFLAGS += -fno-omit-frame-pointer -fno-optimize-sibling-calls else |