add = 1; 
add = ADD_MANAGED_RESOURCE; 
static ssize_t store_io_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 = 1;	adjust_t adj;	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 = 0;		if (ret != 2) {			ret = sscanf (buf, "0x%lx - 0x%lx", &start_addr, &end_addr);			add = 1;			if (ret != 2)				return -EINVAL;		}	}	if (end_addr <= start_addr)		return -EINVAL;	adj.Action = add ? ADD_MANAGED_RESOURCE : REMOVE_MANAGED_RESOURCE;	adj.Resource = RES_IO_RANGE;	adj.resource.io.BasePort = start_addr;	adj.resource.io.NumPorts = end_addr - start_addr + 1;	ret = adjust_io(s, &adj);	return ret ? ret : count;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/22916638b124e859b595099bd0c86a1e09e767fb/rsrc_nonstatic.c/buggy/drivers/pcmcia/rsrc_nonstatic.c