lkml.org 
[lkml]   [2018]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[PATCH 0/4] Adds -Wshadow=local on KBUILD_HOSTCFLAGS
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

\
 
 \ /
  Last update: 2018-10-17 02:08    [W:0.089 / U:0.532 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site