From: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com> percpu.c: In function 'cpu_percpu_callback': percpu.c:61:7: error: this 'if' clause does not guard... [-Werror=misleading-indentation] if ( system_state != SYS_STATE_resume ) ^~ percpu.c:63:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' break; ^~~~~ percpu.c:67:7: error: this 'if' clause does not guard... [-Werror=misleading-indentation] if ( system_state != SYS_STATE_suspend ) ^~ percpu.c:69:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' break; ^~~~~
Fixes: c3109b76d967 ("xen: don't free percpu areas during suspend") Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com> --- xen/arch/arm/percpu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xen/arch/arm/percpu.c b/xen/arch/arm/percpu.c index 0642705544..9eab1e6d7c 100644 --- a/xen/arch/arm/percpu.c +++ b/xen/arch/arm/percpu.c @@ -60,13 +60,13 @@ static int cpu_percpu_callback( case CPU_UP_PREPARE: if ( system_state != SYS_STATE_resume ) rc = init_percpu_area(cpu); - break; + break; case CPU_UP_CANCELED: case CPU_DEAD: case CPU_RESUME_FAILED: if ( system_state != SYS_STATE_suspend ) free_percpu_area(cpu); - break; + break; default: break; } -- 2.37.1