diff options
author | Louis Taylor <[email protected]> | 2019-03-02 18:49:29 +0000 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2019-03-06 22:55:30 +0100 |
commit | e4a0bd0308f05c1354d28feec8439e869eae6372 (patch) | |
tree | 04ca3e75b705184584f986580fd2b6b46d6b0a83 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 6f913de3231e1d70a871135b38219da7810df218 (diff) |
x86/boot/KASLR: Always return a value from process_mem_region
When compiling with -Wreturn-type, clang warns:
arch/x86/boot/compressed/kaslr.c:704:1: warning: control may reach end of
non-void function [-Wreturn-type]
This function's return statement should have been placed outside the
ifdeffed region. Move it there.
Fixes: 690eaa532057 ("x86/boot/KASLR: Limit KASLR to extract the kernel in immovable memory only")
Signed-off-by: Louis Taylor <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Nathan Chancellor <[email protected]>
Reviewed-by: Nick Desaulniers <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions