xen/arm: initialize access
authorStefano Stabellini <sstabellini@kernel.org>
Tue, 6 Nov 2018 22:05:57 +0000 (14:05 -0800)
committerJulien Grall <julien.grall@arm.com>
Fri, 9 Nov 2018 11:49:40 +0000 (11:49 +0000)
commit8d84e701fdc3825f65e32e34f14c0f9ccfe359e1
tree49ab3c01e70712d98bbe6a25b4471898ed333bcd
parentfe8afc2dc6080504dd3c70a1e40b531f8ad79791
xen/arm: initialize access

Initialize variable *access before returning it back to the caller.
It makes the code a bit nicer and it is a safety certification
requirement.

M3CM Rule-9.1: The value of an object with automatic storage duration
shall not be read before it has been set

QAVerify: 2962
Signed-off-by: Stefano Stabellini <stefanos@xilinx.com>
Acked-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
Acked-by: Julien Grall <julien.grall@arm.com>
CC: rcojocaru@bitdefender.com
CC: Tamas K Lengyel <tamas@tklengyel.com>
xen/arch/arm/mem_access.c