kobject_hotplug(&p->kobj, KOBJ_ADD); 
int br_sysfs_addif(struct net_bridge_port *p){	struct net_bridge *br = p->br;	struct brport_attribute **a;	int err;	ASSERT_RTNL();	kobject_set_name(&p->kobj, SYSFS_BRIDGE_PORT_ATTR);	p->kobj.ktype = &brport_ktype;	p->kobj.parent = &(p->dev->class_dev.kobj);	p->kobj.kset = NULL;	err = kobject_add(&p->kobj);	if(err)		goto out1;	err = sysfs_create_link(&p->kobj, &br->dev->class_dev.kobj, 				SYSFS_BRIDGE_PORT_LINK);	if (err)		goto out2;	for (a = brport_attrs; *a; ++a) {		err = sysfs_create_file(&p->kobj, &((*a)->attr));		if (err)			goto out2;	}	err = sysfs_create_link(&br->ifobj, &p->kobj, p->dev->name);	if (err)		goto out2;	return 0; out2:	kobject_del(&p->kobj); out1:	return err;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/f0e035f4b6940aae6836500b642029c289ed4535/br_sysfs_if.c/buggy/net/bridge/br_sysfs_if.c