[PATCH 0/4] Adds -Wshadow=local on KBUILD_HOSTCFLAGS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux