On Wed, Aug 18, 2021 at 8:14 AM Kees Cook <keesc...@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 <oj...@kernel.org>

Cheers,
Miguel

Reply via email to