node = pnpbios_kmalloc(node_info.max_node_size, GFP_KERNEL); 
node = kcalloc(1, node_info.max_node_size, GFP_KERNEL); 
static int proc_write_node(struct file *file, const char __user *buf,                           unsigned long count, void *data){	struct pnp_bios_node *node;	int boot = (long)data >> 8;	u8 nodenum = (long)data;	int ret = count;	node = pnpbios_kmalloc(node_info.max_node_size, GFP_KERNEL);	if (!node)		return -ENOMEM;	if (pnp_bios_get_dev_node(&nodenum, boot, node)) {		ret = -EIO;		goto out;	}	if (count != node->size - sizeof(struct pnp_bios_node)) {		ret = -EINVAL;		goto out;	}	if (copy_from_user(node->data, buf, count)) {		ret = -EFAULT;		goto out;	}	if (pnp_bios_set_dev_node(node->handle, boot, node) != 0) {		ret = -EINVAL;		goto out;	}	ret = count;out:	kfree(node);	return ret;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/a2822e7f00cdccbff8e507b5ebbddce1aa95eb5d/proc.c/clean/drivers/pnp/pnpbios/proc.c