summaryrefslogtreecommitdiff
path: root/security/tomoyo/memory.c
diff options
context:
space:
mode:
authorMark Rustad <mark.d.rustad@intel.com>2014-09-05 18:57:57 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-08 16:30:43 -0700
commit9d329c1c68d2cc625bb4b8191f37297db6061448 (patch)
tree365be992b9269c983345575c829057249bdfe372 /security/tomoyo/memory.c
parent5aa387c152fce7ae5cb29f2b191a1570cd04db5f (diff)
tty/vt/keyboard: Resolve many shadow warnings
Many local variables were given the same name as a global. This is valid, but generates many shadow warnings in W=2 builds. Resolve them by changing the local names. Also change local variables named "up" because they shadow the semaphore "up" function. Also moved the outer declaration of the variable "a" because it is only used in one block, and that resolves all of the shadow warnings for the other declarations of "a" that have different types. Change diacr => dia, kbd => kb, rep => rpt, up => udp. Signed-off-by: Mark Rustad <mark.d.rustad@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'security/tomoyo/memory.c')
0 files changed, 0 insertions, 0 deletions