drivers/net/usb/asix.c: Fix pointer cast.
authorDavid S. Miller <davem@davemloft.net>
Tue, 25 May 2010 23:24:03 +0000 (16:24 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 May 2010 23:24:03 +0000 (16:24 -0700)
commitf925b1303e0672effc78547353bd2ddfe11f5b5f
treeef5e4e19aa70fcf08d624fec1d5cc9a342c12136
parentdd131e76e562fa0c6f9dd53130e8d08d39a0b62c
drivers/net/usb/asix.c: Fix pointer cast.

Stephen Rothwell reports the following new warning:

drivers/net/usb/asix.c: In function 'asix_rx_fixup':
drivers/net/usb/asix.c:325: warning: cast from pointer to integer of different size
drivers/net/usb/asix.c:354: warning: cast from pointer to integer of different size

The code just cares about the low alignment bits, so use
an "unsigned long" cast instead of one to "u32".

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/asix.c