diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2014-11-24 11:32:16 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-11-24 21:15:36 (GMT) |
commit | 6e58040b848162d77243cf499d026c6253278e29 (patch) | |
tree | f49ca22bdbc00cc25fcd929ce91d92ba2619fc25 /MAINTAINERS | |
parent | 2dd34339ac6305c4f2f4e589b858212e339d31e9 (diff) | |
download | linux-6e58040b848162d77243cf499d026c6253278e29.tar.xz |
af_packet: fix sparse warning
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>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions