]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
elf: fix shadowed variables in fs/binfmt_elf.c
authorWANG Cong <xiyou.wangcong@gmail.com>
Tue, 29 Apr 2008 08:01:18 +0000 (01:01 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Apr 2008 15:06:16 +0000 (08:06 -0700)
commit4220b7fe89f8c0623e09168ab81dd0da2fdadd72
tree14ca87136a0503e9c16ded388ce885f2edb7bc5a
parent6970c8eff85dd450e7eff69dad710dcf594b1bb8
elf: fix shadowed variables in fs/binfmt_elf.c

Fix these sparse warings:
fs/binfmt_elf.c:1749:29: warning: symbol 'tmp' shadows an earlier one
fs/binfmt_elf.c:1734:28: originally declared here
fs/binfmt_elf.c:2009:26: warning: symbol 'vma' shadows an earlier one
fs/binfmt_elf.c:1892:24: originally declared here

[akpm@linux-foundation.org: chose better variable name]
Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/binfmt_elf.c