linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: percpu tree build warning
@ 2009-11-25 10:42 Stephen Rothwell
  2009-11-25 10:50 ` Ingo Molnar
  0 siblings, 1 reply; 20+ messages in thread
From: Stephen Rothwell @ 2009-11-25 10:42 UTC (permalink / raw)
  To: Tejun Heo, Rusty Russell, Christoph Lameter, Ingo Molnar
  Cc: linux-next, linux-kernel

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

Hi all,

Today's linux-next build (x86_64 allmodconfig) produced this warning:

arch/x86/kernel/hw_breakpoint.c: In function 'arch_install_hw_breakpoint':
arch/x86/kernel/hw_breakpoint.c:121: warning: assignment from incompatible pointer type
arch/x86/kernel/hw_breakpoint.c: In function 'arch_uninstall_hw_breakpoint':
arch/x86/kernel/hw_breakpoint.c:156: warning: assignment from incompatible pointer type

I am not sure where this one came from ...

-- 
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] 20+ messages in thread
* linux-next: percpu tree build warning
@ 2009-11-12  6:45 Stephen Rothwell
  2009-11-12 15:16 ` Christoph Lameter
  0 siblings, 1 reply; 20+ 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] 20+ messages in thread

end of thread, other threads:[~2009-11-30  5:16 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-25 10:42 linux-next: percpu tree build warning Stephen Rothwell
2009-11-25 10:50 ` Ingo Molnar
2009-11-25 11:14   ` Rusty Russell
2009-11-25 11:58     ` Ingo Molnar
2009-11-25 12:39       ` Tejun Heo
2009-11-25 12:31   ` Tejun Heo
2009-11-25 13:40     ` Ingo Molnar
2009-11-25 15:12       ` Tejun Heo
2009-11-26 22:16       ` Rusty Russell
2009-11-27  5:41         ` Ingo Molnar
2009-11-27  5:57           ` Tejun Heo
2009-11-27  6:20             ` Ingo Molnar
2009-11-27  6:31               ` Tejun Heo
2009-11-27  6:32                 ` Tejun Heo
2009-11-28  9:51           ` Rusty Russell
2009-11-29  6:40             ` Ingo Molnar
2009-11-30  0:31               ` Rusty Russell
2009-11-25 13:24   ` [PATCH] x86: rename global percpu symbol dr7 to cpu_dr7 Tejun Heo
  -- strict thread matches above, loose matches on Subject: below --
2009-11-12  6:45 linux-next: percpu tree build warning Stephen Rothwell
2009-11-12 15:16 ` Christoph Lameter

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