From: Jeff Garzik Date: Tue, 3 Oct 2006 23:25:34 +0000 (-0700) Subject: [TIPC]: fix printk warning X-Git-Tag: v2.6.19-rc1~33^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=617dbeaa3f2987acc83c1149409685005e9dd740;p=pandora-kernel.git [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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed