diff options
author | Eric Dumazet <edumazet@google.com> | 2014-07-02 02:39:38 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-07-02 17:03:06 -0700 |
commit | 5925a0555bdaf0b396a84318cbc21ba085f6c0d3 (patch) | |
tree | c77da862b0c0a8c2b4a2a6beb75f318cd6b5e606 /include/net/psnap.h | |
parent | a48e5fafecfb9c0c807d7e7284b5ff884dfb7a3a (diff) |
net: fix sparse warning in sk_dst_set()
sk_dst_cache has __rcu annotation, so we need a cast to avoid
following sparse error :
include/net/sock.h:1774:19: warning: incorrect type in initializer (different address spaces)
include/net/sock.h:1774:19: expected struct dst_entry [noderef] <asn:4>*__ret
include/net/sock.h:1774:19: got struct dst_entry *dst
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Fixes: 7f502361531e ("ipv4: irq safe sk_dst_[re]set() and ipv4_sk_update_pmtu() fix")
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/psnap.h')
0 files changed, 0 insertions, 0 deletions