Commit ceccd1cf authored by Stephen Hemminger's avatar Stephen Hemminger

[PATCH] skfddi - fix warning

The conversion to ANSI, caused a warning because the mulitcast code needs
a cast.  dmi->dmi_addr is a u8 array, and fddi_addr is just a wrapper around a u8 array.
Signed-off-by: default avatarStephen Hemminger <shemminger@osdl.org>
parent ea84b8c8
......@@ -909,7 +909,10 @@ static void skfp_ctl_set_multicast_list_wo_lock(struct net_device *dev)
dmi = dev->mc_list;
for (i = 0; i < dev->mc_count; i++) {
mac_add_multicast(smc, dmi->dmi_addr, 1);
mac_add_multicast(smc,
(struct fddi_addr *)dmi->dmi_addr,
1);
PRINTK(KERN_INFO "ENABLE MC ADDRESS:");
PRINTK(" %02x %02x %02x ",
dmi->dmi_addr[0],
......
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