mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-22 17:01:14 +00:00
endianness noise in tulip_core
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
parent
561b4fbf18
commit
76285ee037
1 changed files with 2 additions and 1 deletions
|
@ -797,7 +797,8 @@ static int tulip_close (struct net_device *dev)
|
|||
|
||||
tp->rx_ring[i].status = 0; /* Not owned by Tulip chip. */
|
||||
tp->rx_ring[i].length = 0;
|
||||
tp->rx_ring[i].buffer1 = 0xBADF00D0; /* An invalid address. */
|
||||
/* An invalid address. */
|
||||
tp->rx_ring[i].buffer1 = cpu_to_le32(0xBADF00D0);
|
||||
if (skb) {
|
||||
pci_unmap_single(tp->pdev, mapping, PKT_BUF_SZ,
|
||||
PCI_DMA_FROMDEVICE);
|
||||
|
|
Loading…
Reference in a new issue