From: Ian Campbell Date: Wed, 31 Aug 2011 00:46:54 +0000 (+0000) Subject: jme: convert to SKB paged frag API. X-Git-Tag: firefly_0821_release~3680^2~4273^2~344 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f327358ab2cdfa534b2dc89e9dd2266c0f61f587;p=firefly-linux-kernel-4.4.55.git jme: convert to SKB paged frag API. Signed-off-by: Ian Campbell Cc: Guo-Fu Tseng Cc: netdev@vger.kernel.org Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/jme.c b/drivers/net/ethernet/jme.c index a869ee47dde6..48a0a23f342f 100644 --- a/drivers/net/ethernet/jme.c +++ b/drivers/net/ethernet/jme.c @@ -1928,8 +1928,9 @@ jme_map_tx_skb(struct jme_adapter *jme, struct sk_buff *skb, int idx) ctxdesc = txdesc + ((idx + i + 2) & (mask)); ctxbi = txbi + ((idx + i + 2) & (mask)); - jme_fill_tx_map(jme->pdev, ctxdesc, ctxbi, frag->page, - frag->page_offset, frag->size, hidma); + jme_fill_tx_map(jme->pdev, ctxdesc, ctxbi, + skb_frag_page(frag), + frag->page_offset, frag->size, hidma); } len = skb_is_nonlinear(skb) ? skb_headlen(skb) : skb->len;