linux/include
Eric Dumazet fde40bdfda net: fix sparse warning in sk_dst_set()
[ Upstream commit 5925a0555b ]

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: 7f50236153 ("ipv4: irq safe sk_dst_[re]set() and ipv4_sk_update_pmtu() fix")
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-28 08:05:59 -07:00
..
acpi
asm-generic mm: use paravirt friendly ops for NUMA hinting ptes 2014-05-31 13:20:30 -07:00
clocksource
crypto
drm Merge tag 'ttm-fixes-3.14-2014-02-18' of git://people.freedesktop.org/~thomash/linux into drm-fixes 2014-02-19 08:21:26 +10:00
dt-bindings dt: tegra: remove non-existent clock IDs 2014-05-06 07:59:38 -07:00
keys
kvm ARM: KVM: fix non-VGIC compilation 2014-03-06 09:47:42 +01:00
linux ring-buffer: Check if buffer exists before polling 2014-07-17 16:21:06 -07:00
math-emu
media
memory
misc
net net: fix sparse warning in sk_dst_set() 2014-07-28 08:05:59 -07:00
pcmcia
ras
rdma IB/core: Don't resolve passive side RoCE L2 address in CMA REQ handler 2014-05-06 07:59:28 -07:00
rxrpc
scsi scsi: fix our current target reap infrastructure 2014-05-31 13:20:27 -07:00
sound ALSA: control: Protect user controls against concurrent access 2014-06-26 15:15:43 -04:00
target target: Report correct response length for some commands 2014-06-30 20:12:00 -07:00
trace tracing: Fix syscall_*regfunc() vs copy_process() race 2014-07-06 18:57:29 -07:00
uapi usb: gadget: f_fs: resurect usb_functionfs_descs_head structure 2014-07-09 11:18:24 -07:00
video
xen Merge branch 'for-linus' of git://git.kernel.dk/linux-block 2014-02-14 10:45:18 -08:00
Kbuild