git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a038716
)
ethoc: Fix warning in ethoc_init_ring().
author
David S. Miller
<davem@davemloft.net>
Thu, 8 Jul 2010 01:23:19 +0000
(18:23 -0700)
committer
David S. Miller
<davem@davemloft.net>
Thu, 8 Jul 2010 01:23:19 +0000
(18:23 -0700)
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>
No differences found