lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 27 Aug 2020 17:02:57 +0000
From:   Atish Patra <Atish.Patra@....com>
To:     "anders.roxell@...aro.org" <anders.roxell@...aro.org>,
        "sfr@...b.auug.org.au" <sfr@...b.auug.org.au>,
        "anup@...infault.org" <anup@...infault.org>,
        "palmerdabbelt@...gle.com" <palmerdabbelt@...gle.com>
CC:     "linux-next@...r.kernel.org" <linux-next@...r.kernel.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: linux-next: Tree for Aug 27

On Thu, 2020-08-27 at 10:37 +0200, Anders Roxell wrote:
> On Thu, 27 Aug 2020 at 07:11, Stephen Rothwell <sfr@...b.auug.org.au>
> 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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ