summaryrefslogtreecommitdiffstats
path: root/drivers/net/chelsio/cxgb2.c
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2007-12-22 18:56:33 +0000
committerDavid S. Miller <davem@davemloft.net>2008-01-28 15:10:29 -0800
commitac390c60a833192e87fb09ed8d67f5d1a84306c8 (patch)
treead8c6d74992816c08bfc3959f767b51f0aeada95 /drivers/net/chelsio/cxgb2.c
parent61cf46ad581ba43073d3bcb0be549eb60fbbf9f8 (diff)
downloadblackbird-op-linux-ac390c60a833192e87fb09ed8d67f5d1a84306c8.tar.gz
blackbird-op-linux-ac390c60a833192e87fb09ed8d67f5d1a84306c8.zip
annotate chelsio
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/chelsio/cxgb2.c')
-rw-r--r--drivers/net/chelsio/cxgb2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/chelsio/cxgb2.c b/drivers/net/chelsio/cxgb2.c
index 16f131396999..a509337eab2d 100644
--- a/drivers/net/chelsio/cxgb2.c
+++ b/drivers/net/chelsio/cxgb2.c
@@ -814,7 +814,7 @@ static int get_eeprom(struct net_device *dev, struct ethtool_eeprom *e,
e->magic = EEPROM_MAGIC(adapter);
for (i = e->offset & ~3; i < e->offset + e->len; i += sizeof(u32))
- t1_seeprom_read(adapter, i, (u32 *)&buf[i]);
+ t1_seeprom_read(adapter, i, (__le32 *)&buf[i]);
memcpy(data, buf + e->offset, e->len);
return 0;
}
OpenPOWER on IntegriCloud