diff options
author | David S. Miller <davem@davemloft.net> | 2010-08-10 03:06:58 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-10 03:06:58 -0400 |
commit | 5d337d6f64d150b6577972cc23f709ee85f66881 (patch) | |
tree | ece22e5268bc869902827ceefd281fbb864158fe /include | |
parent | c4e9b56e24422e71424b24eee27c2b134a191d7b (diff) |
farsync: Fix compile warnings.
drivers/net/wan/farsync.c: In function 'fst_intr_rx':
drivers/net/wan/farsync.c:1312: warning: cast to pointer from integer of different size
drivers/net/wan/farsync.c: In function 'do_bottom_half_tx':
drivers/net/wan/farsync.c:1407: warning: cast to pointer from integer of different size
The "skb" and "mem" arguments being passed here are DMA addresses
being programmed into the hardware registers, so pass them as the type
that they actually are. And use the correct printf formatting in
debug logging statements for these things to match the type change.
Reported-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions