From: Nathan Chancellor Date: Mon, 16 Aug 2021 20:20:56 +0000 (-0700) Subject: kbuild: Shuffle blank line to improve comment meaning X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=c6a74818da3fa0a2ab595f4442dced9660b4970e;p=users%2Fjedix%2Flinux-maple.git 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 Signed-off-by: Masahiro Yamada --- diff --git a/Makefile b/Makefile index ad3493f48099..829bd339ffdc 100644 --- a/Makefile +++ b/Makefile @@ -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