Revision 6e58040b848162d77243cf499d026c6253278e29 authored by Michael S. Tsirkin on 24 November 2014, 11:32:16 UTC, committed by David S. Miller on 24 November 2014, 21:15:36 UTC
af_packet produces lots of these:
	net/packet/af_packet.c:384:39: warning: incorrect type in return expression (different modifiers)
	net/packet/af_packet.c:384:39:    expected struct page [pure] *
	net/packet/af_packet.c:384:39:    got struct page *

this seems to be because sparse does not realize that _pure
refers to function, not the returned pointer.

Tweak code slightly to avoid the warning.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 2dd3433
History
File Mode Size
Kconfig -rw-r--r-- 442 bytes
Makefile -rw-r--r-- 251 bytes
attr.c -rw-r--r-- 2.6 KB
bfind.c -rw-r--r-- 4.5 KB
bitmap.c -rw-r--r-- 5.8 KB
bnode.c -rw-r--r-- 11.3 KB
brec.c -rw-r--r-- 13.4 KB
btree.c -rw-r--r-- 8.7 KB
btree.h -rw-r--r-- 5.1 KB
catalog.c -rw-r--r-- 9.2 KB
dir.c -rw-r--r-- 7.6 KB
extent.c -rw-r--r-- 13.8 KB
hfs.h -rw-r--r-- 9.1 KB
hfs_fs.h -rw-r--r-- 8.9 KB
inode.c -rw-r--r-- 18.3 KB
mdb.c -rw-r--r-- 10.2 KB
part_tbl.c -rw-r--r-- 2.9 KB
string.c -rw-r--r-- 3.7 KB
super.c -rw-r--r-- 12.2 KB
sysdep.c -rw-r--r-- 1.0 KB
trans.c -rw-r--r-- 3.4 KB

back to top