Messages in this thread | | | From | Nick Desaulniers <> | Date | Mon, 4 Mar 2019 10:10:04 -0800 | Subject | Re: [PATCH] x86/KASLR: always return a value from process_mem_region |
| |
On Sat, Mar 2, 2019 at 10:53 AM Louis Taylor <louis@kragniz.eu> wrote: > > 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 probably have been placed > outside the #endif, so move it there > > Link: https://github.com/ClangBuiltLinux/linux/issues/360 > Signed-off-by: Louis Taylor <louis@kragniz.eu>
Thanks for the patch! Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
-- Thanks, ~Nick Desaulniers
| |