wlcore: fix pointer print out in wl1271_acx_set_rx_filter()
authorLuciano Coelho <coelho@ti.com>
Wed, 16 May 2012 02:59:59 +0000 (05:59 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 16 May 2012 17:08:27 +0000 (13:08 -0400)
commit3246a7fbc51abe9394df3c68c7d59ea821a1dce2
tree5627bb0045d0bbe5cf796bfb1504fefb3b486e56
parent15e3d25a7a5c0a79ccf6f81c06efd8f2a78b7161
wlcore: fix pointer print out in wl1271_acx_set_rx_filter()

The debug print in wl1271_acx_set_rx_filter() was causing the
following warning:

  CC      drivers/net/wireless/ti/wlcore/acx.o
drivers/net/wireless/ti/wlcore/acx.c: In function ‘wl1271_acx_set_rx_filter’:
drivers/net/wireless/ti/wlcore/acx.c:1759:2: warning: cast from pointer to integer of different size

Instead of casting the pointer to an integer, use %p to print it our
instead.

Reported-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ti/wlcore/acx.c