linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* mips build failures due to commit 8dd928915a73 (mips: fix up obsolete cpu function usage)
@ 2015-04-20 19:40 Guenter Roeck
  2015-04-20 20:06 ` Ralf Baechle
  2015-04-20 21:09 ` Aaro Koskinen
  0 siblings, 2 replies; 10+ messages in thread
From: Guenter Roeck @ 2015-04-20 19:40 UTC (permalink / raw)
  To: linux-kernel; +Cc: Rusty Russell, Ralf Baechle, Florian Fainelli, linux-mips

Hi,

the upstream kernel fails to build mips:nlm_xlp_defconfig,
mips:nlm_xlp_defconfig, mips:cavium_octeon_defconfig, and possibly
other targets, with errors such as

arch/mips/kernel/smp.c:211:2: error:
	passing argument 2 of 'cpumask_set_cpu' discards 'volatile' qualifier
	from pointer target type
arch/mips/kernel/process.c:52:2: error:
	passing argument 2 of 'cpumask_test_cpu' discards 'volatile' qualifier
	from pointer target type
arch/mips/cavium-octeon/smp.c:242:2: error:
	passing argument 2 of 'cpumask_clear_cpu' discards 'volatile' qualifier
	from pointer target type

The problem was introduced with commit 8dd928915a73 (" mips: fix up obsolete cpu
function usage"). I would send a patch to fix it, but I am not sure if removing
'volatile' from the variable declaration(s) would be a good idea.

I don't recall seeing the problem in -next, but unless I am missing something,
the patch never made it into -next to start with.

Guenter

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-04-27 13:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-20 19:40 mips build failures due to commit 8dd928915a73 (mips: fix up obsolete cpu function usage) Guenter Roeck
2015-04-20 20:06 ` Ralf Baechle
2015-04-20 20:19   ` Guenter Roeck
2015-04-20 21:09 ` Aaro Koskinen
2015-04-21  4:11   ` Guenter Roeck
2015-04-21  4:15   ` Rusty Russell
2015-04-21 15:41     ` Guenter Roeck
2015-04-22  2:59       ` Florian Fainelli
2015-04-27 13:03       ` Aaro Koskinen
2015-04-27 13:44         ` Paul Martin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).