On Fri, Aug 24, 2007 at 01:56:49PM -0700, Stephen Hemminger wrote: > static void velocity_init_cam_filter(struct velocity_info *vptr) > { > struct mac_regs __iomem * regs = vptr->mac_regs; > + unsigned short vid; > - mac_set_cam(regs, 0, (u8 *) & (vptr->options.vid), > VELOCITY_VLAN_ID_CAM); > + mac_set_cam(regs, 0, (u8 *) &vid, > + VELOCITY_VLAN_ID_CAM);
This mac_set_cam() dreck should be split in two properly typed functions. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html