Re: linux-next: Tree for Aug 27

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2020-08-27 at 10:37 +0200, Anders Roxell wrote:
> 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")
> 

Yes. For some reason, I never get this with the UEFI support series
applied on top 5.9-rc2 in my tree. But I get this error with linux-next 
tree.

> 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>
> 
> 

This fix solves the problem. Thanks.
@palmer: Do you want me to update the patch and send v7 ?


> Cheers,
> Anders

-- 
Regards,
Atish




[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux