linux-next: build failure after merge of the akpm tree
Subsystems (3)
Hi all,
After merging the akpm tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:
arch/powerpc/kvm/book3s_64_mmu_radix.c: In function 'debugfs_radix_read':arch/powerpc/kvm/book3s_64_mmu_radix.c:1226:8: error: unused variable 'pgd' [-Werror=unused-variable]
1226 | pgd_t pgd, *pgdp;
| ^~~cc1: all warnings being treated as errors
Caused by commit
cad54c147231 ("powerpc: add support for folded p4d page tables")
I applied the following fix patch:
From: Stephen Rothwell <[email protected]>
Date: Mon, 2 Mar 2020 15:19:40 +1100
Subject: [PATCH] fix for "powerpc: add support for folded p4d page tables"
Signed-off-by Stephen Rothwell <[email protected]>
--- arch/powerpc/kvm/book3s_64_mmu_radix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/kvm/book3s_64_mmu_radix.c +1 -1
@@ -1223,7 +1223,7 @@ static ssize_t debugfs_radix_read(struct file *file, char __user *buf,unsigned long gpa;pgd_t *pgt;struct kvm_nested_guest *nested; -pgd_t pgd, *pgdp; +pgd_t *pgdp;p4d_t p4d, *p4dp;pud_t pud, *pudp;pmd_t pmd, *pmdp;
Signature · 5 lines
2.25.0 -- Cheers, Stephen Rothwell