linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/5] Adds -Wshadow on KBUILD_HOSTCFLAGS and fix warnings
@ 2018-10-24  4:03 Leonardo Bras
  2018-10-24  4:03 ` [PATCH v3 1/5] x86/vdso: Renames variable to fix shadow warning Leonardo Bras
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Leonardo Bras @ 2018-10-24  4:03 UTC (permalink / raw)
  To: lkcamp
  Cc: Leonardo Bras, Borislav Petkov, David.Laight, Andy Lutomirski,
	Ingo Molnar, helen, Masahiro Yamada, Michal Marek, linux-kbuild,
	linux-kernel

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

Changes in v3:
- Better Cover letter
- Better commit message for patch 1/5.
- Fixes what should change on patch 3/5
- Removes accent of my second name (better for searching at lkml.org)


v2: https://lkml.org/lkml/2018/10/23/151
v1: https://lkml.org/lkml/2018/10/17/169

Leonardo Bras (5):
  x86/vdso: Renames variable to fix shadow warning.
  kbuild: Removes unnecessary shadowed local variable.
  Creates macro to avoid variable shadowing
  modpost: Changes parameter name to avoid shadowing.
  Adds -Wshadow on KBUILD_HOSTCFLAGS

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

-- 
2.19.1


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

end of thread, other threads:[~2018-11-01  3:31 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-24  4:03 [PATCH v3 0/5] Adds -Wshadow on KBUILD_HOSTCFLAGS and fix warnings Leonardo Bras
2018-10-24  4:03 ` [PATCH v3 1/5] x86/vdso: Renames variable to fix shadow warning Leonardo Bras
2018-10-28 16:34   ` Masahiro Yamada
2018-10-24  4:03 ` [PATCH v3 2/5] kbuild: Removes unnecessary shadowed local variable Leonardo Bras
2018-10-28 16:36   ` Masahiro Yamada
2018-10-30  0:31     ` Leonardo Bras
2018-10-24  4:03 ` [PATCH v3 3/5] Creates macro to avoid variable shadowing Leonardo Bras
2018-10-24  4:03 ` [PATCH v3 4/5] modpost: Changes parameter name to avoid shadowing Leonardo Bras
2018-10-28 16:42   ` Masahiro Yamada
2018-10-31 23:24     ` Leonardo Bras
2018-11-01  3:31       ` Leonardo Bras
2018-10-24  4:03 ` [PATCH v3 5/5] Adds -Wshadow on KBUILD_HOSTCFLAGS Leonardo Bras

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).