projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57f53fd
)
arm64/uao: fix compiler warning
author
Alex Shi
<alex.shi@linaro.org>
Thu, 23 Feb 2017 04:52:14 +0000
(12:52 +0800)
committer
Alex Shi
<alex.shi@linaro.org>
Thu, 23 Feb 2017 04:52:14 +0000
(12:52 +0800)
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>
arch/arm64/mm/fault.c
patch
|
blob
|
history
diff --git
a/arch/arm64/mm/fault.c
b/arch/arm64/mm/fault.c
index 18e5a2c3d5546ff0bf7c1e809d2817ad53ac348a..100204bb9678e0c37b802c928b1f987ea7b440a7 100644
(file)
--- a/
arch/arm64/mm/fault.c
+++ b/
arch/arm64/mm/fault.c
@@
-667,5
+667,6
@@
int cpu_enable_pan(void *__unused)
int cpu_enable_uao(void *__unused)
{
asm(SET_PSTATE_UAO(1));
+ return 0;
}
#endif /* CONFIG_ARM64_UAO */