1
linux/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 [PATCH] spin/rwlock init cleanups 2006-06-27 17:32:39 -07:00
bcast.h [TIPC]: Enhanced & cleaned up system messages; fixed 2 obscure memory leaks. 2006-06-25 23:52:17 -07:00
bearer.c [NET]: Conversions from kmalloc+memset to k(z|c)alloc. 2006-07-21 14:51:30 -07:00
bearer.h
cluster.c [NET]: Conversions from kmalloc+memset to k(z|c)alloc. 2006-07-21 14:51:30 -07:00
cluster.h [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
config.c [PATCH] spin/rwlock init cleanups 2006-06-27 17:32:39 -07:00
config.h
core.c [TIPC]: Initial activation message now includes TIPC version number 2006-06-29 17:08:20 -07:00
core.h [TIPC] Fixed sk_buff panic caused by tipc_link_bundle_buf (REVISED) 2006-07-03 19:39:36 -07:00
dbg.c [PATCH] spin/rwlock init cleanups 2006-06-27 17:32:39 -07:00
dbg.h
discover.c [TIPC]: Removing useless casts 2006-07-21 15:52:20 -07:00
discover.h
eth_media.c [TIPC]: Validate entire interface name when locating bearer to enable. 2006-06-25 23:43:21 -07:00
handler.c [PATCH] spin/rwlock init cleanups 2006-06-27 17:32:39 -07:00
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 [TIPC]: Enhanced & cleaned up system messages; fixed 2 obscure memory leaks. 2006-06-25 23:52:17 -07:00
name_distr.h
name_table.c [NET]: Conversions from kmalloc+memset to k(z|c)alloc. 2006-07-21 14:51:30 -07:00
name_table.h
net.c [NET]: Conversions from kmalloc+memset to k(z|c)alloc. 2006-07-21 14:51:30 -07:00
net.h
netlink.c
node_subscr.c [TIPC]: First phase of assert() cleanup 2006-06-25 23:51:37 -07:00
node_subscr.h
node.c [TIPC]: Improve response to requests for node/link information 2006-06-29 17:08:15 -07:00
node.h [TIPC]: Fixed link switchover bugs 2006-06-25 23:52:50 -07:00
port.c [NET]: Conversions from kmalloc+memset to k(z|c)alloc. 2006-07-21 14:51:30 -07:00
port.h
ref.c [TIPC]: Removing useless casts 2006-07-21 15:52:20 -07:00
ref.h [TIPC]: Fix simple sparse warnings 2006-03-20 22:36:47 -08:00
socket.c [TIPC]: Optimized argument validation done by connect(). 2006-06-25 23:49:06 -07:00
subscr.c [NET]: Conversions from kmalloc+memset to k(z|c)alloc. 2006-07-21 14:51:30 -07:00
subscr.h
user_reg.c [NET]: Conversions from kmalloc+memset to k(z|c)alloc. 2006-07-21 14:51:30 -07:00
user_reg.h
zone.c [NET]: Conversions from kmalloc+memset to k(z|c)alloc. 2006-07-21 14:51:30 -07:00
zone.h [TIPC]: Improve response to requests for node/link information 2006-06-29 17:08:15 -07:00