public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] b44: src_desc->addr is little-endian
@ 2007-01-30 13:23 Al Viro
  2007-01-30 14:38 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Al Viro @ 2007-01-30 13:23 UTC (permalink / raw)
  To: torvalds; +Cc: davem, jgarzik, linux-kernel


Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
 drivers/net/b44.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/b44.c b/drivers/net/b44.c
index 5eb2ec6..cfc89bc 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);
 }
-- 
1.5.0-rc2.GIT



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] b44: src_desc->addr is little-endian
  2007-01-30 13:23 [PATCH] b44: src_desc->addr is little-endian Al Viro
@ 2007-01-30 14:38 ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2007-01-30 14:38 UTC (permalink / raw)
  To: Al Viro; +Cc: torvalds, davem, linux-kernel

Al Viro wrote:
> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

applied


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-01-30 14:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-30 13:23 [PATCH] b44: src_desc->addr is little-endian Al Viro
2007-01-30 14:38 ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox