Skip to content
Commit f925b130 authored by David S. Miller's avatar David S. Miller
Browse files

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: default avatarDavid S. Miller <davem@davemloft.net>
parent dd131e76
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment