commit | 5cf3e03457aa905f17f9765702850316b69aad1e | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Wed Jul 07 18:23:19 2010 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed Jul 07 18:23:19 2010 -0700 |
tree | 9edbaabc470bbd88315ef1abc65fe74a3e482974 | |
parent | a038716957d3888a595014a660b1db1f28946f62 [diff] |
ethoc: Fix warning in ethoc_init_ring(). Get rid of the pointless back-and-forth casting of dev->mem_start from long to pointer back to long again. Also fixes a warning reported by Stephen Rothwell: drivers/net/ethoc.c: In function 'ethoc_init_ring': drivers/net/ethoc.c:302: warning: assignment makes integer from pointer without a cast Signed-off-by: David S. Miller <davem@davemloft.net>