lkml.org 
[lkml]   [2019]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [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

    \
     
     \ /
      Last update: 2019-03-04 19:11    [W:4.411 / U:0.048 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site