]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ipw2100: avoid warning from pointer cast in call to IPW_DEBUG_TX
authorJohn W. Linville <linville@tuxdriver.com>
Tue, 10 Aug 2010 17:08:11 +0000 (13:08 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 16 Aug 2010 18:39:48 +0000 (14:39 -0400)
commitaa0d52c5e7f352ce9725c8940fe2458f2c04e049
tree487411a36b6c8f4701c8b39fd506e1158ada8bda
parent1a7123cdd9f49cf1c908fb2c16d26f279c88d8c9
ipw2100: avoid warning from pointer cast in call to IPW_DEBUG_TX

drivers/net/wireless/ipw2x00/ipw2100.c: In function 'ipw2100_tx_send_commands':
drivers/net/wireless/ipw2x00/ipw2100.c:3063: warning: cast to pointer from integer of different size

This changes the cast and the conversion to match other usage of the
same value in calls to IPW_DEBUG_TX.

Reported-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ipw2x00/ipw2100.c