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-- 541 bytes
Makefile -rw-r--r-- 248 bytes
balloc.c -rw-r--r-- 21.7 KB
dir.c -rw-r--r-- 5.0 KB
directory.c -rw-r--r-- 5.7 KB
ecma_167.h -rw-r--r-- 22.0 KB
file.c -rw-r--r-- 6.7 KB
ialloc.c -rw-r--r-- 3.3 KB
inode.c -rw-r--r-- 64.7 KB
lowlevel.c -rw-r--r-- 1.5 KB
misc.c -rw-r--r-- 7.8 KB
namei.c -rw-r--r-- 32.9 KB
osta_udf.h -rw-r--r-- 8.2 KB
partition.c -rw-r--r-- 8.6 KB
super.c -rw-r--r-- 65.3 KB
symlink.c -rw-r--r-- 2.6 KB
truncate.c -rw-r--r-- 7.9 KB
udf_i.h -rw-r--r-- 1.7 KB
udf_sb.h -rw-r--r-- 4.3 KB
udfdecl.h -rw-r--r-- 8.3 KB
udfend.h -rw-r--r-- 1.6 KB
udftime.c -rw-r--r-- 5.8 KB
unicode.c -rw-r--r-- 11.1 KB

back to top