]> git.baikalelectronics.ru Git - kernel.git/commit
ipc: resolve shadow warnings
authorMark Rustad <mark.d.rustad@intel.com>
Mon, 13 Oct 2014 22:54:16 +0000 (15:54 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 14 Oct 2014 00:18:23 +0000 (02:18 +0200)
commit13d254eaa99e9464d8a1d6d29b7a4359f65fee9d
tree13e86b1f7e544cd67e6fd3e932b868886d7d6913
parent56597c2b7a760fe118afabd1a7cf4909229d43e9
ipc: resolve shadow warnings

Resolve some shadow warnings produced in W=2 builds by changing the name
of some parameters and local variables.  Change instances of "s64"
because that clashes with the well-known typedef.  Also change a local
variable with the name "up" because that clashes with the name of of the
"up" function for semaphores.  These are hazards so eliminate the
hazards by renaming them.

Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
ipc/compat.c