Skip to content

Commit 332efa4

Browse files
author
Alex Shi
committed
arm64/uao: fix compiler warning
Adding a 'return 0' to fix a compiler warning arch/arm64/mm/fault.c: In function 'cpu_enable_uao': arch/arm64/mm/fault.c:689:1: warning: control reaches end of non-void function [-Wreturn-type] That was introduced by a conflict fix. Signed-off-by: Alex Shi <alex.shi@linaro.org>
1 parent 57f53fd commit 332efa4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/arm64/mm/fault.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -667,5 +667,6 @@ int cpu_enable_pan(void *__unused)
667667
int cpu_enable_uao(void *__unused)
668668
{
669669
asm(SET_PSTATE_UAO(1));
670+
return 0;
670671
}
671672
#endif /* CONFIG_ARM64_UAO */

0 commit comments

Comments
 (0)