strcpy(i2c_clientname(c), chip_names[ov->subtype]); 
strcpy(c->name, chip_names[ov->subtype]); 
static int ovcamchip_attach(struct i2c_adapter *adap){	int rc = 0;	struct ovcamchip *ov;	struct i2c_client *c;	/* I2C is not a PnP bus, so we can never be certain that we're talking	 * to the right chip. To prevent damage to EEPROMS and such, only	 * attach to adapters that are known to contain OV camera chips. */	switch (adap->id) {	case I2C_HW_SMBUS_OV511:	case I2C_HW_SMBUS_OV518:	case I2C_HW_SMBUS_OVFX2:	case I2C_HW_SMBUS_W9968CF:		PDEBUG(1, "Adapter ID 0x%06x accepted", adap->id);		break;	default:		PDEBUG(1, "Adapter ID 0x%06x rejected", adap->id);		return -ENODEV;	}	c = kmalloc(sizeof *c, GFP_KERNEL);	if (!c) {		rc = -ENOMEM;		goto no_client;	}	memcpy(c, &client_template, sizeof *c);	c->adapter = adap;	strcpy(i2c_clientname(c), "OV????");	ov = kmalloc(sizeof *ov, GFP_KERNEL);	if (!ov) {		rc = -ENOMEM;		goto no_ov;	}	memset(ov, 0, sizeof *ov);	i2c_set_clientdata(c, ov);	rc = ovcamchip_detect(c);	if (rc < 0)		goto error;	strcpy(i2c_clientname(c), chip_names[ov->subtype]);	PDEBUG(1, "Camera chip detection complete");	i2c_attach_client(c);	return rc;error:	kfree(ov);no_ov:	kfree(c);no_client:	PDEBUG(1, "returning %d", rc);	return rc;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/fae91e72b79ba9a21f0ce7551a1fd7e8984c85a6/ovcamchip_core.c/buggy/drivers/media/video/ovcamchip/ovcamchip_core.c