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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <3xjgLQ0DTHz9t1t@ozlabs.org>
Date:   Thu, 31 Aug 2017 21:36:13 +1000 (AEST)
From:   Michael Ellerman <patch-notifications@...erman.id.au>
To:     Corentin Labbe <clabbe.montjoie@...il.com>,
        benh@...nel.crashing.org, paulus@...ba.org,
        anju@...ux.vnet.ibm.com, maddy@...ux.vnet.ibm.com
Cc:     Corentin Labbe <clabbe.montjoie@...il.com>,
        linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: powerpc: powernv: Fix build error on const discarding

On Wed, 2017-08-16 at 12:34:44 UTC, Corentin Labbe wrote:
> 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.
> 
> Signed-off-by: Corentin Labbe <clabbe.montjoie@...il.com>
> Reviewed-by: Madhavan Srinivasan <maddy@...ux.vnet.ibm.com>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/6538ac30841638b2fd345725a9fd15

cheers

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ