ethernet: fix up ps3_gelic_net.c for "ethernet: use eth_hw_addr_set()"
Another case needing a u8 * cast.
Fixes: a96d317fb1
("ethernet: use eth_hw_addr_set()")
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Link: https://lore.kernel.org/r/20211006122315.4e04fb87@canb.auug.org.au
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
fada2ce093
commit
bcb2293d81
|
@ -1477,7 +1477,7 @@ int gelic_net_setup_netdev(struct net_device *netdev, struct gelic_card *card)
|
|||
__func__, status);
|
||||
return -EINVAL;
|
||||
}
|
||||
eth_hw_addr_set(netdev, &v1);
|
||||
eth_hw_addr_set(netdev, (u8 *)&v1);
|
||||
|
||||
if (card->vlan_required) {
|
||||
netdev->hard_header_len += VLAN_HLEN;
|
||||
|
|
Loading…
Reference in New Issue