From: Al Viro Date: Tue, 30 Jan 2007 13:23:50 +0000 (+0000) Subject: [PATCH] b44: src_desc->addr is little-endian X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=774ba59c950926abd27421fa146f1916de89e6f6;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git [PATCH] b44: src_desc->addr is little-endian Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- diff --git a/drivers/net/b44.c b/drivers/net/b44.c index 5eb2ec68393f..cfc89bc105b1 100644 --- a/drivers/net/b44.c +++ b/drivers/net/b44.c @@ -752,7 +752,7 @@ static void b44_recycle_rx(struct b44 *bp, int src_idx, u32 dest_idx_unmasked) dest_idx * sizeof(dest_desc), DMA_BIDIRECTIONAL); - pci_dma_sync_single_for_device(bp->pdev, src_desc->addr, + pci_dma_sync_single_for_device(bp->pdev, le32_to_cpu(src_desc->addr), RX_PKT_BUF_SZ, PCI_DMA_FROMDEVICE); }