Commit bcb2293d authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Jakub Kicinski

ethernet: fix up ps3_gelic_net.c for "ethernet: use eth_hw_addr_set()"

Another case needing a u8 * cast.

Fixes: a96d317f ("ethernet: use eth_hw_addr_set()")
Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Link: https://lore.kernel.org/r/20211006122315.4e04fb87@canb.auug.org.auSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent fada2ce0
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment