* linux-next: build failure after merge of the uml tree
@ 2021-12-21 23:55 Stephen Rothwell
2021-12-22 8:16 ` Christoph Hellwig
0 siblings, 1 reply; 2+ messages in thread
From: Stephen Rothwell @ 2021-12-21 23:55 UTC (permalink / raw)
To: Richard Weinberger
Cc: Linux Kernel Mailing List, Linux Next Mailing List,
Christoph Hellwig, Al Viro
[-- Attachment #1: Type: text/plain, Size: 912 bytes --]
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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: linux-next: build failure after merge of the uml tree
2021-12-21 23:55 linux-next: build failure after merge of the uml tree Stephen Rothwell
@ 2021-12-22 8:16 ` Christoph Hellwig
0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2021-12-22 8:16 UTC (permalink / raw)
To: Stephen Rothwell
Cc: Richard Weinberger, Linux Kernel Mailing List,
Linux Next Mailing List, Christoph Hellwig, Al Viro
On Wed, Dec 22, 2021 at 10:55:21AM +1100, Stephen Rothwell wrote:
> I am not sure what caused this - presumably some include file tidying up.
Yes, it needs this as a fixup:
diff --git a/arch/x86/kvm/mmu/spte.c b/arch/x86/kvm/mmu/spte.c
index 0c76c45fdb686..fad546df0bbac 100644
--- a/arch/x86/kvm/mmu/spte.c
+++ b/arch/x86/kvm/mmu/spte.c
@@ -16,6 +16,7 @@
#include "spte.h"
#include <asm/e820/api.h>
+#include <asm/memtype.h>
#include <asm/vmx.h>
static bool __read_mostly enable_mmio_caching = true;
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-12-22 8:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-21 23:55 linux-next: build failure after merge of the uml tree Stephen Rothwell
2021-12-22 8:16 ` Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox