mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
Build fixes for skb_frag_size conversion
I missed a few places. One is in some ifdeffed code which will probably never be re-enabled; the others are in drivers which can't currently be compiled on x86. Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
8f75ec1a22
commit
92493a2f8a
6 changed files with 9 additions and 9 deletions
|
|
@ -2580,10 +2580,9 @@ he_send(struct atm_vcc *vcc, struct sk_buff *skb)
|
|||
slot = 0;
|
||||
}
|
||||
|
||||
tpd->iovec[slot].addr = dma_map_single(&he_dev->pci_dev->dev,
|
||||
(void *) page_address(frag->page) + frag->page_offset,
|
||||
frag->size, DMA_TO_DEVICE);
|
||||
tpd->iovec[slot].len = frag->size;
|
||||
tpd->iovec[slot].addr = skb_frag_dma_map(&he_dev->pci_dev->dev,
|
||||
frag, 0, skb_frag_size(frag), DMA_TO_DEVICE);
|
||||
tpd->iovec[slot].len = skb_frag_size(frag);
|
||||
++slot;
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue