From: Eric Dumazet Date: Mon, 6 Feb 2012 22:17:21 +0000 (+0000) Subject: sh-eth: use netdev stats structure and fix dma_map_single X-Git-Tag: v3.4-rc1~177^2~361 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb7d92e3e3049e22b5807ac559a72b38fad5f499;p=pandora-kernel.git sh-eth: use netdev stats structure and fix dma_map_single No need to maintain a parallel net_device_stats structure in sh_eth_private, since we have a generic one in netdev Fix two dma_map_single() incorrect parameters, passing skb->tail instead of skb->data. Seems that there is no corresponding dmap_unmap_single() calls for the moment in this driver. Signed-off-by: Eric Dumazet Cc: Yoshihiro Shimoda Tested-by: Yoshihiro Shimoda Signed-off-by: David S. Miller --- Reading git-diff-tree failed