emu = kcalloc(1, sizeof(struct emu), GFP_KERNEL); 
emu = kzalloc(sizeof(struct emu), GFP_KERNEL); 
static int __devinit emu_probe(struct pci_dev *pdev, const struct pci_device_id *ent){	int ioport, iolen;	struct emu *emu;	struct gameport *port;	if (pci_enable_device(pdev))		return -EBUSY;	ioport = pci_resource_start(pdev, 0);	iolen = pci_resource_len(pdev, 0);	if (!request_region(ioport, iolen, "emu10k1-gp"))		return -EBUSY;	emu = kcalloc(1, sizeof(struct emu), GFP_KERNEL);	port = gameport_allocate_port();	if (!emu || !port) {		printk(KERN_ERR "emu10k1-gp: Memory allocation failed\n");		release_region(ioport, iolen);		kfree(emu);		gameport_free_port(port);		return -ENOMEM;	}	emu->io = ioport;	emu->size = iolen;	emu->dev = pdev;	emu->gameport = port;	gameport_set_name(port, "EMU10K1");	gameport_set_phys(port, "pci%s/gameport0", pci_name(pdev));	port->dev.parent = &pdev->dev;	port->io = ioport;	pci_set_drvdata(pdev, emu);	gameport_register_port(port);	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/a97e148a8b8da8b04bc3e18ceb824a8f5f56d567/emu10k1-gp.c/buggy/drivers/input/gameport/emu10k1-gp.c