ec_ecdt = kmalloc(sizeof(struct acpi_ec), GFP_KERNEL); 
ec_ecdt = kmalloc(sizeof(union acpi_ec), GFP_KERNEL); 
acpi_ec_fake_ecdt(void){	acpi_status	status;	int		ret = 0;	printk(KERN_INFO PREFIX "Try to make an fake ECDT\n");	ec_ecdt = kmalloc(sizeof(struct acpi_ec), GFP_KERNEL);	if (!ec_ecdt) {		ret = -ENOMEM;		goto error;	}	memset(ec_ecdt, 0, sizeof(struct acpi_ec));	status = acpi_get_devices (ACPI_EC_HID,				acpi_fake_ecdt_callback,				NULL,				NULL);	if (ACPI_FAILURE(status)) {		kfree(ec_ecdt);		ec_ecdt = NULL;		ret = -ENODEV;		goto error;	}	return 0;error:	printk(KERN_ERR PREFIX "Can't make an fake ECDT\n");	return ret;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/45bea1555f5bf0cd5871b208b4b02d188f106861/ec.c/buggy/drivers/acpi/ec.c