[merged] b44-use-kernel-dma-addresses-for-the-kernel-dma-api.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     b44: use kernel DMA addresses for the kernel DMA API
has been removed from the -mm tree.  Its filename was
     b44-use-kernel-dma-addresses-for-the-kernel-dma-api.patch

This patch was dropped because it was merged into mainline or a subsystem tree

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: b44: use kernel DMA addresses for the kernel DMA API
From: Michael Buesch <mb@xxxxxxxxx>

We must not use the device DMA addresses for the kernel DMA API, because
device DMA addresses have an additional offset added for the SSB translation.

Use the original dma_addr_t for the sync operation.

Addresses http://bugzilla.kernel.org/show_bug.cgi?id=12969

Cc: <stable@xxxxxxxxxx>
Signed-off-by: Michael Buesch <mb@xxxxxxxxx>
Cc: Gary Zambrano <zambrano@xxxxxxxxxxxx>
Reported-by: Sergio M Basto <sergio@xxxxxxxxxxxxxxxxxx>
Cc: David Miller <davem@xxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/net/b44.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/net/b44.c~b44-use-kernel-dma-addresses-for-the-kernel-dma-api drivers/net/b44.c
--- a/drivers/net/b44.c~b44-use-kernel-dma-addresses-for-the-kernel-dma-api
+++ a/drivers/net/b44.c
@@ -750,7 +750,7 @@ static void b44_recycle_rx(struct b44 *b
 					     dest_idx * sizeof(*dest_desc),
 					     DMA_BIDIRECTIONAL);
 
-	ssb_dma_sync_single_for_device(bp->sdev, le32_to_cpu(src_desc->addr),
+	ssb_dma_sync_single_for_device(bp->sdev, dest_map->mapping,
 				       RX_PKT_BUF_SZ,
 				       DMA_FROM_DEVICE);
 }
_

Patches currently in -mm which might be from mb@xxxxxxxxx are

origin.patch
linux-next.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux