static ssize_t w1_master_attribute_show_slaves(struct device *dev, char *buf) 
static ssize_t w1_master_attribute_show_slaves(struct device *dev, struct device_attribute *attr, char *buf) 
static ssize_t w1_master_attribute_show_slaves(struct device *dev, char *buf){	struct w1_master *md = container_of(dev, struct w1_master, dev);	int c = PAGE_SIZE;	if (down_interruptible(&md->mutex))		return -EBUSY;	if (md->slave_count == 0)		c -= snprintf(buf + PAGE_SIZE - c, c, "not found.\n");	else {		struct list_head *ent, *n;		struct w1_slave *sl;		list_for_each_safe(ent, n, &md->slist) {			sl = list_entry(ent, struct w1_slave, w1_slave_entry); 			c -= snprintf(buf + PAGE_SIZE - c, c, "%s\n", sl->name);		}	}	up(&md->mutex);	return PAGE_SIZE - c;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/060b8845e6bea938d65ad6f89e83507e5ff4fec4/w1.c/buggy/drivers/w1/w1.c