Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 99836317 authored by Prasad Sodagudi's avatar Prasad Sodagudi
Browse files

arm64: percpu: Initialize the ret variable for default case



sometimes-uninitialized warning is observed, so define ret variable
for default case.

msm-4.14/arch/arm64/include/asm/percpu.h:102:1: warning: variable
'ret' is used uninitialized whenever switch default is taken
[-Wsometimes-uninitialized] error, forbidden warning: percpu.h:102

Change-Id: Ia364af84d3ba5862acdd62465d4f2219326b0c0b
Signed-off-by: default avatarPrasad Sodagudi <psodagud@codeaurora.org>
parent f6f026ce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment