]> git.baikalelectronics.ru Git - kernel.git/commit
x86/vdso: Rename variable to fix -Wshadow warning
authorLeonardo Brás <leobras.c@gmail.com>
Tue, 23 Oct 2018 01:10:22 +0000 (22:10 -0300)
committerIngo Molnar <mingo@kernel.org>
Fri, 19 Apr 2019 19:33:46 +0000 (21:33 +0200)
commit87945796ebb5cfff737d4e616da29f6ec3545cce
tree51b4df078ee8bf82ffea2c0c6e1b7221ca2339fb
parent439a137e930d3e3f3bc1b7a7277797e3f3b4110d
x86/vdso: Rename variable to fix -Wshadow warning

The go32() and go64() functions has an argument and a local variable called ‘name’.
Rename both to clarify the code and to fix a warning with -Wshadow.

Signed-off-by: Leonardo Brás <leobras.c@gmail.com>
Acked-by: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: David.Laight@aculab.com
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Michal Marek <michal.lkml@markovi.net>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: helen@koikeco.de
Cc: linux-kbuild@vger.kernel.org
Cc: lkcamp@lists.libreplanetbr.org
Link: http://lkml.kernel.org/r/20181023011022.GA6574@WindFlash
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/entry/vdso/vdso2c.h