From: Michael Ellerman <mpe@ellerman.id.au>
To: Corentin Labbe <clabbe.montjoie@gmail.com>,
benh@kernel.crashing.org, paulus@samba.org,
anju@linux.vnet.ibm.com, maddy@linux.vnet.ibm.com
Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org,
Corentin Labbe <clabbe.montjoie@gmail.com>
Subject: Re: [PATCH] powerpc: powernv: Fix build error on const discarding
Date: Thu, 17 Aug 2017 22:52:11 +1000 [thread overview]
Message-ID: <87fucqbblw.fsf@concordia.ellerman.id.au> (raw)
In-Reply-To: <20170816123444.5202-1-clabbe.montjoie@gmail.com>
Corentin Labbe <clabbe.montjoie@gmail.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
next prev parent reply other threads:[~2017-08-17 12:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-16 12:34 [PATCH] powerpc: powernv: Fix build error on const discarding Corentin Labbe
2017-08-17 12:52 ` Michael Ellerman [this message]
2017-08-18 12:58 ` Corentin Labbe
2017-08-25 1:26 ` Michael Ellerman
2017-08-31 11:36 ` Michael Ellerman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fucqbblw.fsf@concordia.ellerman.id.au \
--to=mpe@ellerman.id.au \
--cc=anju@linux.vnet.ibm.com \
--cc=benh@kernel.crashing.org \
--cc=clabbe.montjoie@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=maddy@linux.vnet.ibm.com \
--cc=paulus@samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox