From: Mark Rustad Date: Sat, 6 Sep 2014 01:57:57 +0000 (-0700) Subject: tty/vt/keyboard: Resolve many shadow warnings X-Git-Tag: fixes-for-v3.18-merge-window~14^2~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d329c1c68d2cc625bb4b8191f37297db6061448;p=pandora-kernel.git 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 Signed-off-by: Jeff Kirsher Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed