public inbox for linux-kbuild@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Adds -Wshadow=local on KBUILD_HOSTCFLAGS
@ 2018-10-17  0:07 Leonardo Brás
  2018-10-17  4:45 ` [Lkcamp] " Helen Koike
  0 siblings, 1 reply; 2+ messages in thread
From: Leonardo Brás @ 2018-10-17  0:07 UTC (permalink / raw)
  To: lkcamp
  Cc: Matthew Wilcox, Andy Lutomirski, Thomas Gleixner, Ingo Molnar,
	Borislav Petkov, H. Peter Anvin, x86, Masahiro Yamada,
	Michal Marek, linux-kernel, linux-kbuild

This patchset add -Wshadow=local on KBUILD_HOSTCFLAGS and fixes 
all code that show this warning.

The third patch was already submitted, but was not merged yet.
I like to think it's part of this patchset, but if it was 
already merged, please ignore it.

Leonardo Brás (4):
  Adds -Wshadow=local on KBUILD_HOSTCFLAGS
  Renames variable to fix shadow warning.
  kbuild: Removes unnecessary shadowed local variable and optimize
    testing.
  Changes macro usage to avoid shadowing a variable.

 Makefile                     |  2 +-
 arch/x86/entry/vdso/vdso2c.h |  4 ++--
 scripts/asn1_compiler.c      |  7 +++----
 scripts/mod/file2alias.c     | 14 ++++++++------
 4 files changed, 14 insertions(+), 13 deletions(-)

-- 
2.19.1

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

end of thread, other threads:[~2018-10-17 12:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-17  0:07 [PATCH 0/4] Adds -Wshadow=local on KBUILD_HOSTCFLAGS Leonardo Brás
2018-10-17  4:45 ` [Lkcamp] " Helen Koike

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