On Thu, 12 Nov 2009, Stephen Rothwell wrote: > 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(). hmm... pcpu_lstats needs to be correctly qualified I guess. -- To unsubscribe from this list: send the line "unsubscribe linux-next" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html