From: Al Viro Date: Sun, 23 Dec 2007 20:01:04 +0000 (+0000) Subject: endianness noise in tulip_core X-Git-Tag: v2.6.24-rc8~34^2~15 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76285ee03737ba8105db0621aa3e49222f0644f2;p=linux-2.6 endianness noise in tulip_core Signed-off-by: Al Viro Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/tulip/tulip_core.c b/drivers/net/tulip/tulip_core.c index e5e2c9c4eb..ed600bf56e 100644 --- a/drivers/net/tulip/tulip_core.c +++ b/drivers/net/tulip/tulip_core.c @@ -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);