Re: linux-next: Tree for Aug 27

From: Anders Roxell
Date: Thu Aug 27 2020 - 04:37:47 EST


On Thu, 27 Aug 2020 at 07:11, Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> Hi all,
>
> News: There will be no linux-next releases next Monday or Tuesday.
>
> Changes since 20200826:
>
> The net-next tree gained a conflict against the net tree.
>
> Non-merge commits (relative to Linus' tree): 2901
> 3429 files changed, 100496 insertions(+), 37081 deletions(-)
>

I built riscv on todays tag and I see this error:
../arch/riscv/kernel/setup.c: In function ‘setup_arch’:
../arch/riscv/kernel/setup.c:74:2: error: implicit declaration of
function ‘early_ioremap_setup’; did you mean ‘early_memtest’?
[-Werror=implicit-function-declaration]
early_ioremap_setup();
^~~~~~~~~~~~~~~~~~~
early_memtest
cc1: some warnings being treated as errors

I think its due to commit 3d109b0e0949 ("RISC-V: Add early ioremap support")

It builds with this fix:

diff --git a/arch/riscv/kernel/setup.c b/arch/riscv/kernel/setup.c
index 5ab185130cae..41ef96d0d97a 100644
--- a/arch/riscv/kernel/setup.c
+++ b/arch/riscv/kernel/setup.c
@@ -19,6 +19,7 @@
#include <linux/smp.h>

#include <asm/cpu_ops.h>
+#include <asm/early_ioremap.h>
#include <asm/setup.h>
#include <asm/sections.h>
#include <asm/sbi.h>


Cheers,
Anders