2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-20 03:04:01 +08:00
linux-next/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 [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
addr.h [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
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 [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
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 [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
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 [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
discover.c [TIPC]: Removing useless casts 2006-07-21 15:52:20 -07:00
discover.h [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
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 [TIPC] Add help text for TIPC configuration option 2006-01-18 00:45:15 +01:00
link.c [TIPC]: fix printk warning 2006-10-04 00:31:03 -07:00
link.h [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
Makefile [TIPC] Initial merge 2006-01-12 14:06:31 -08:00
msg.c [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
msg.h [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
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 [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
name_table.c [NET]: Conversions from kmalloc+memset to k(z|c)alloc. 2006-07-21 14:51:30 -07:00
name_table.h [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
net.c [NET]: Conversions from kmalloc+memset to k(z|c)alloc. 2006-07-21 14:51:30 -07:00
net.h [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
netlink.c [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
node_subscr.c [TIPC]: First phase of assert() cleanup 2006-06-25 23:51:37 -07:00
node_subscr.h [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
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 [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
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 [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
user_reg.c [NET]: Conversions from kmalloc+memset to k(z|c)alloc. 2006-07-21 14:51:30 -07:00
user_reg.h [TIPC] Avoid polluting the global namespace 2006-01-18 00:45:16 +01:00
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