* [nf-next:mmap-netlink 61/68] net/netlink/af_netlink.c:194:39: sparse: incorrect type in return expre
@ 2012-07-12 23:46 Fengguang Wu
0 siblings, 0 replies; only message in thread
From: Fengguang Wu @ 2012-07-12 23:46 UTC (permalink / raw)
To: kernel-janitors
Hi Patrick,
There are new sparse warnings show up in
tree: git://150.214.188.80/nf-next mmap-netlink
head: c7e7243d0b69e2323dde057c28f1102d00e5a3c6
commit: a20a76bdf79a4b6c25df3ad1a48fd601a0b59400 [61/68] netlink: mmaped netlink: ring setup
All sparse warnings:
+ net/netlink/af_netlink.c:194:39: sparse: incorrect type in return expression (different modifiers)
net/netlink/af_netlink.c:194:39: expected struct page [pure] *
net/netlink/af_netlink.c:194:39: got struct page *
net/netlink/af_netlink.c:196:24: sparse: incorrect type in return expression (different modifiers)
net/netlink/af_netlink.c:196:24: expected struct page [pure] *
net/netlink/af_netlink.c:196:24: got struct page *
+ net/netlink/af_netlink.c:397:38: sparse: incorrect type in assignment (different modifiers)
net/netlink/af_netlink.c:397:38: expected struct page *page
net/netlink/af_netlink.c:397:38: got struct page [pure] *
net/netlink/af_netlink.c:819:56: sparse: incorrect type in argument 1 (different address spaces)
net/netlink/af_netlink.c:819:56: expected void const *<noident>
net/netlink/af_netlink.c:819:56: got struct listeners [noderef] <asn:4>*listeners
net/netlink/af_netlink.c:632:38: sparse: dereference of noderef expression
vim +194 net/netlink/af_netlink.c
191 static __pure struct page *pgvec_to_page(const void *addr)
192 {
193 if (is_vmalloc_addr(addr))
> 194 return vmalloc_to_page(addr);
195 else
196 return virt_to_page(addr);
197 }
---
0-DAY kernel build testing backend Open Source Technology Centre
Fengguang Wu <wfg@linux.intel.com> Intel Corporation
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-07-12 23:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-12 23:46 [nf-next:mmap-netlink 61/68] net/netlink/af_netlink.c:194:39: sparse: incorrect type in return expre Fengguang Wu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.