Re: [PATCH 1/3] powerpc: boot: include compiler_attributes.h

From: Miguel Ojeda
Date: Mon Nov 16 2020 - 06:24:35 EST


On Mon, Nov 16, 2020 at 5:35 AM Nick Desaulniers
<ndesaulniers@xxxxxxxxxx> wrote:
>
> It was also noted in 6a9dc5fd6170 that we could -D__KERNEL__ and
> -include compiler_types.h like the main kernel does, though testing that
> produces a whole sea of warnings to cleanup. This approach is minimally
> invasive.

I would add a comment noting this as a reminder -- it also helps to
entice a cleanup.

Acked-by: Miguel Ojeda <ojeda@xxxxxxxxxx>

Cheers,
Miguel