linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: percpu tree build warning
@ 2009-11-12  6:45 Stephen Rothwell
  2009-11-12 15:16 ` Christoph Lameter
  2009-11-18  9:05 ` [PATCH percpu#for-next] percpu: remove compile warnings caused by __verify_pcpu_ptr() Tejun Heo
  0 siblings, 2 replies; 3+ messages in thread
From: Stephen Rothwell @ 2009-11-12  6:45 UTC (permalink / raw)
  To: Tejun Heo, Rusty Russell, Christoph Lameter, Ingo Molnar
  Cc: linux-next, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 553 bytes --]

Hi all,

Today's linux-next build (powerpc ppc64_defconfig) produced this warning:

drivers/net/loopback.c: In function 'loopback_get_stats':
drivers/net/loopback.c:109: warning: initialization discards qualifiers from pointer target type

The line in question is:

	lb_stats = per_cpu_ptr(pcpu_lstats, i);

Where "lb_stats" and "pcpu_lstats" are both "const struct pcpu_lstats
*".  I guess this is because of __verify_pcpu_ptr().

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

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

end of thread, other threads:[~2009-11-18  9:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-12  6:45 linux-next: percpu tree build warning Stephen Rothwell
2009-11-12 15:16 ` Christoph Lameter
2009-11-18  9:05 ` [PATCH percpu#for-next] percpu: remove compile warnings caused by __verify_pcpu_ptr() Tejun Heo

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).