diff options
Diffstat (limited to 'drivers/net/ethernet/sun/sungem.c')
-rw-r--r-- | drivers/net/ethernet/sun/sungem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/sun/sungem.c b/drivers/net/ethernet/sun/sungem.c index e62df2b81302..a235bd9fd980 100644 --- a/drivers/net/ethernet/sun/sungem.c +++ b/drivers/net/ethernet/sun/sungem.c | |||
@@ -2779,7 +2779,7 @@ static int gem_get_device_address(struct gem *gp) | |||
2779 | return -1; | 2779 | return -1; |
2780 | #endif | 2780 | #endif |
2781 | } | 2781 | } |
2782 | memcpy(dev->dev_addr, addr, 6); | 2782 | memcpy(dev->dev_addr, addr, ETH_ALEN); |
2783 | #else | 2783 | #else |
2784 | get_gem_mac_nonobp(gp->pdev, gp->dev->dev_addr); | 2784 | get_gem_mac_nonobp(gp->pdev, gp->dev->dev_addr); |
2785 | #endif | 2785 | #endif |