projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f501b1
)
fec: do not use memcpy on physical addresses
author
Sascha Hauer
<s.hauer@pengutronix.de>
Wed, 28 Jan 2009 23:03:06 +0000
(23:03 +0000)
committer
David S. Miller
<davem@davemloft.net>
Sun, 1 Feb 2009 08:58:22 +0000
(
00:58
-0800)
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/fec.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/fec.c
b/drivers/net/fec.c
index a44b4eef180895262ae1a50d8f625557b82f8d3e..1087c4da84a5257fea7292b2e69e970fcefe0f34 100644
(file)
--- a/
drivers/net/fec.c
+++ b/
drivers/net/fec.c
@@
-341,7
+341,7
@@
fec_enet_start_xmit(struct sk_buff *skb, struct net_device *dev)
if (bdp->cbd_bufaddr & 0x3) {
unsigned int index;
index = bdp - fep->tx_bd_base;
- memcpy(fep->tx_bounce[index], (void *)
bdp->cbd_bufaddr, bdp->cbd_dat
len);
+ memcpy(fep->tx_bounce[index], (void *)
skb->data, skb->
len);
bdp->cbd_bufaddr = __pa(fep->tx_bounce[index]);
}