linux-next: build failure after merge of the uml tree

From: Stephen Rothwell
Date: Tue Dec 21 2021 - 18:55:28 EST


Hi all,

After merging the uml tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

arch/x86/kvm/mmu/spte.c: In function 'kvm_is_mmio_pfn':
arch/x86/kvm/mmu/spte.c:85:6: error: implicit declaration of function 'pat_enabled'; did you mean 'kasan_enabled'? [-Werror=implicit-function-declaration]
85 | (!pat_enabled() || pat_pfn_immune_to_uc_mtrr(pfn));
| ^~~~~~~~~~~
| kasan_enabled
arch/x86/kvm/mmu/spte.c:85:23: error: implicit declaration of function 'pat_pfn_immune_to_uc_mtrr' [-Werror=implicit-function-declaration]
85 | (!pat_enabled() || pat_pfn_immune_to_uc_mtrr(pfn));
| ^~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

I am not sure what caused this - presumably some include file tidying up.

I have used the uml tree from next-20211221 for today.

--
Cheers,
Stephen Rothwell

Attachment: pgpiATFbsKE9p.pgp
Description: OpenPGP digital signature