android_kernel_xiaomi_sm8350/net/tipc
Jeff Garzik 617dbeaa3f [TIPC]: fix printk warning
gcc spits out this warning:

net/tipc/link.c: In function ‘link_retransmit_failure’:
net/tipc/link.c:1669: warning: cast from pointer to integer of different
size

More than a little bit ugly, storing integers in void*, but at least the
code is correct, unlike some of the more crufty Linux kernel code found
elsewhere.

Rather than having two casts to massage the value into u32, it's easier
just to have a single cast and use "%lu", since it's just a printk.

Signed-off-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-10-04 00:31:03 -07:00
..
addr.c
addr.h
bcast.c
bcast.h
bearer.c
bearer.h
cluster.c
cluster.h
config.c
config.h
core.c
core.h
dbg.c
dbg.h
discover.c [TIPC]: Removing useless casts 2006-07-21 15:52:20 -07:00
discover.h
eth_media.c
handler.c
Kconfig
link.c [TIPC]: fix printk warning 2006-10-04 00:31:03 -07:00
link.h
Makefile
msg.c
msg.h
name_distr.c
name_distr.h
name_table.c
name_table.h
net.c
net.h
netlink.c
node_subscr.c
node_subscr.h
node.c
node.h
port.c
port.h
ref.c [TIPC]: Removing useless casts 2006-07-21 15:52:20 -07:00
ref.h
socket.c
subscr.c
subscr.h
user_reg.c
user_reg.h
zone.c
zone.h