From: David S. Miller Date: Thu, 8 Jul 2010 01:23:19 +0000 (-0700) Subject: ethoc: Fix warning in ethoc_init_ring(). X-Git-Tag: v2.6.36-rc1~571^2~315 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5cf3e03457aa905f17f9765702850316b69aad1e;p=pandora-kernel.git 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 --- Reading git-diff-tree failed