lkml.org 
[lkml]   [2021]   [Aug]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH v2 25/63] compiler_types.h: Remove __compiletime_object_size()
    On Wed, Aug 18, 2021 at 8:14 AM Kees Cook <keescook@chromium.org> wrote:
    >
    > Since all compilers support __builtin_object_size(), and there is only
    > one user of __compiletime_object_size, remove it to avoid the needless
    > indirection. This lets Clang reason about check_copy_size() correctly.

    Sounds good to me, the indirection is making things more complex than
    they need to be.

    Reviewed-by: Miguel Ojeda <ojeda@kernel.org>

    Cheers,
    Miguel

    \
     
     \ /
      Last update: 2021-08-18 15:03    [W:2.355 / U:0.756 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site