]> git.baikalelectronics.ru Git - kernel.git/commit
pxa168_eth: silence gcc warnings
authorDan Carpenter <error27@gmail.com>
Tue, 24 Aug 2010 06:55:05 +0000 (06:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Aug 2010 21:50:27 +0000 (14:50 -0700)
commitcb6114fc689645627172f187a9f2f32f84697aae
tree142155d21b8f1244ed7e69f07da517c12f62e798
parent1b14d7aa87d79651089d7201adb2699ef9863a19
pxa168_eth: silence gcc warnings

Casting "pep->tx_desc_dma" to to a struct tx_desc pointer makes gcc
complain:

drivers/net/pxa168_eth.c:657: warning:
cast to pointer from integer of different size

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/pxa168_eth.c