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]
Message-ID: <20170818125816.GA15998@Red>
Date:   Fri, 18 Aug 2017 14:58:16 +0200
From:   Corentin Labbe <clabbe.montjoie@...il.com>
To:     Michael Ellerman <mpe@...erman.id.au>
Cc:     benh@...nel.crashing.org, paulus@...ba.org,
        anju@...ux.vnet.ibm.com, maddy@...ux.vnet.ibm.com,
        linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] powerpc: powernv: Fix build error on const discarding

On Thu, Aug 17, 2017 at 10:52:11PM +1000, Michael Ellerman wrote:
> Corentin Labbe <clabbe.montjoie@...il.com> writes:
> 
> > When building a random powerpc kernel I hit this build error:
> >   CC      arch/powerpc/platforms/powernv/opal-imc.o
> > arch/powerpc/platforms/powernv/opal-imc.c: In function « disable_nest_pmu_counters »:
> > arch/powerpc/platforms/powernv/opal-imc.c:130:13: error : assignment discards « const » qualifier from pointer target type [-Werror=discarded-qualifiers]
> >    l_cpumask = cpumask_of_node(nid);
> >              ^
> > This patch simply add const to l_cpumask to fix this issue.
> 
> Thanks. I'm not sure why we haven't seen that.
> 
> Do you mind attaching your .config ?
> 
> cheers

Yes

Regards

View attachment "powerpc_config" of type "text/plain" (94894 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ