Re: [PATCH v2] RAS/CEC: Fix cec_init prototype
From: Sami Tolvanen
Date: Mon Aug 17 2020 - 14:12:06 EST
On Mon, Aug 17, 2020 at 10:40 AM Borislav Petkov <bp@xxxxxxxxx> wrote:
>
> On Mon, Aug 17, 2020 at 08:58:26AM -0700, Sami Tolvanen wrote:
> > Sorry for not clarifying. This was in a tree with patches for enabling
> > Clang's Control-Flow Integrity.
>
> Well, I just did:
>
> $ make CC=clang-10 HOSTCC=clang-10 allyesconfig
> $ make -j...
>
> and it built fine here, no complaints. So your toolchain must have
> something else.
Not the toolchain, the tree has patches for LTO+CFI, which tends to
break with type mismatches. This doesn't affect just building the
kernel with Clang without other changes.
Sami