if (error >= 0) error = device_add_attrs(bus, dev); 
error = device_add_attrs(bus, dev); 
int bus_add_device(struct device * dev){	struct bus_type * bus = get_bus(dev->bus);	int error = 0;	if (bus) {		pr_debug("bus %s: add device %s\n", bus->name, dev->bus_id);		error = device_attach(dev);		klist_add_tail(&bus->klist_devices, &dev->knode_bus);		if (error >= 0)			error = device_add_attrs(bus, dev);		if (!error) {			sysfs_create_link(&bus->devices.kobj, &dev->kobj, dev->bus_id);			sysfs_create_link(&dev->kobj, &dev->bus->subsys.kset.kobj, "bus");		}	}	return error;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/d377e85b537a5e166272f937da6ba84350676b6e/bus.c/buggy/drivers/base/bus.c