if (!(edev = kmalloc (sizeof (*edev), GFP_KERNEL))) { 
if (!(edev = kzalloc (sizeof (*edev), GFP_KERNEL))) { 
static int __init eisa_probe (struct eisa_root_device *root){        int i, c;	struct eisa_device *edev;        printk (KERN_INFO "EISA: Probing bus %d at %s\n",		root->bus_nr, root->dev->bus_id);	/* First try to get hold of slot 0. If there is no device	 * here, simply fail, unless root->force_probe is set. */		if (!(edev = kmalloc (sizeof (*edev), GFP_KERNEL))) {		printk (KERN_ERR "EISA: Couldn't allocate mainboard slot\n");		return -ENOMEM;	}			memset (edev, 0, sizeof (*edev));	if (eisa_request_resources (root, edev, 0)) {		printk (KERN_WARNING \			"EISA: Cannot allocate resource for mainboard\n");		kfree (edev);		if (!root->force_probe)			return -EBUSY;		goto force_probe;	}	if (eisa_init_device (root, edev, 0)) {		eisa_release_resources (edev);		kfree (edev);		if (!root->force_probe)			return -ENODEV;		goto force_probe;	}	printk (KERN_INFO "EISA: Mainboard %s detected.\n", edev->id.sig);	if (eisa_register_device (edev)) {		printk (KERN_ERR "EISA: Failed to register %s\n",			edev->id.sig);		eisa_release_resources (edev);		kfree (edev);	}	 force_probe:	        for (c = 0, i = 1; i <= root->slots; i++) {		if (!(edev = kmalloc (sizeof (*edev), GFP_KERNEL))) {			printk (KERN_ERR "EISA: Out of memory for slot %d\n",				i);			continue;		}				memset (edev, 0, sizeof (*edev));		if (eisa_request_resources (root, edev, i)) {			printk (KERN_WARNING \				"Cannot allocate resource for EISA slot %d\n",				i);			kfree (edev);			continue;		}                if (eisa_init_device (root, edev, i)) {			eisa_release_resources (edev);			kfree (edev);			continue;		}				printk (KERN_INFO "EISA: slot %d : %s detected",			i, edev->id.sig);					switch (edev->state) {		case EISA_CONFIG_ENABLED | EISA_CONFIG_FORCED:			printk (" (forced enabled)");			break;		case EISA_CONFIG_FORCED:			printk (" (forced disabled)");			break;		case 0:			printk (" (disabled)");			break;		}					printk (".\n");		c++;		if (eisa_register_device (edev)) {			printk (KERN_ERR "EISA: Failed to register %s\n",				edev->id.sig);			eisa_release_resources (edev);			kfree (edev);		}        }        printk (KERN_INFO "EISA: Detected %d card%s.\n", c, c == 1 ? "" : "s");	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/8ac5436ced2fd4eab3abe7cbc6d5a29881fa9ccb/eisa-bus.c/buggy/drivers/eisa/eisa-bus.c