Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1724119 > unrolled thread
| Started by | Michael Ellerman <patch-notifications@ellerman.id.au> |
|---|---|
| First post | 2017-08-31 13:40 +0200 |
| Last post | 2017-08-31 13:40 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: powerpc: powernv: Fix build error on const discarding Michael Ellerman <patch-notifications@ellerman.id.au> - 2017-08-31 13:40 +0200
| From | Michael Ellerman <patch-notifications@ellerman.id.au> |
|---|---|
| Date | 2017-08-31 13:40 +0200 |
| Subject | Re: powerpc: powernv: Fix build error on const discarding |
| Message-ID | <ukvZh-52z-43@gated-at.bofh.it> |
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@gmail.com> > Reviewed-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com> Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/6538ac30841638b2fd345725a9fd15 cheers
Back to top | Article view | linux.kernel
csiph-web