]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: Rename temp variable in read*_relaxed()
authorMichal Simek <michal.simek@xilinx.com>
Mon, 18 May 2015 11:10:48 +0000 (13:10 +0200)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 19 May 2015 14:27:42 +0000 (15:27 +0100)
commitdeeb50f8178b11856b53ae2274d1570e3ff05be1
treef57684325c3f7cb8182da6c673cdc929e43bae7b
parentfefc43198a29a7f98782fd63472d909c27d4f23d
arm64: Rename temp variable in read*_relaxed()

This resolves the following sparse warning from readl() and other
macros, which ends up embedding readl_relaxed() using the same
variable.

Warning log:
include/asm-generic/io.h:364:16: warning: symbol '__v' shadows an
earlier one
include/asm-generic/io.h:364:16: originally declared here
include/asm-generic/io.h:372:16: warning: symbol '__v' shadows an
earlier one
include/asm-generic/io.h:372:16: originally declared here
include/asm-generic/io.h:380:16: warning: symbol '__v' shadows an
earlier one
include/asm-generic/io.h:380:16: originally declared here
include/asm-generic/io.h:568:16: warning: symbol '__v' shadows an
earlier one
include/asm-generic/io.h:568:16: originally declared here
include/asm-generic/io.h:576:16: warning: symbol '__v' shadows an
earlier one
include/asm-generic/io.h:576:16: originally declared here
include/asm-generic/io.h:584:16: warning: symbol '__v' shadows an
earlier one
include/asm-generic/io.h:584:16: originally declared here

The same patch was already applied to arm32 as
"ARM: 7118/1: rename temp variable in read*_relaxed()"
(sha1: 6d2415cda018be1c2cf4551c0591c4b1132e84db)

Acked-by: Liviu Dudau <Liviu.Dudau@arm.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/io.h