if (!ret) s->resource_setup_new = 1; 
static ssize_t store_mem_db(struct class_device *class_dev, const char *buf, size_t count){	struct pcmcia_socket *s = class_get_devdata(class_dev);	unsigned long start_addr, end_addr;	unsigned int add = ADD_MANAGED_RESOURCE;	ssize_t ret = 0;	ret = sscanf (buf, "+ 0x%lx - 0x%lx", &start_addr, &end_addr);	if (ret != 2) {		ret = sscanf (buf, "- 0x%lx - 0x%lx", &start_addr, &end_addr);		add = REMOVE_MANAGED_RESOURCE;		if (ret != 2) {			ret = sscanf (buf, "0x%lx - 0x%lx", &start_addr, &end_addr);			add = ADD_MANAGED_RESOURCE;			if (ret != 2)				return -EINVAL;		}	}	if (end_addr <= start_addr)		return -EINVAL;	ret = adjust_memory(s, add, start_addr, end_addr);	return ret ? ret : count;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/3c29976a6469b81a7858812dc2d4b8430d74004a/rsrc_nonstatic.c/buggy/drivers/pcmcia/rsrc_nonstatic.c