mac_sonic_device = NULL;  if (!(pldev = kmalloc (sizeof (*pldev), GFP_KERNEL))) { 
mac_sonic_device = platform_device_alloc(mac_sonic_string, 0); if (!mac_sonic_device) { 
static int __init mac_sonic_init_module(void){	struct platform_device *pldev;	int err;	if ((err = driver_register(&mac_sonic_driver))) {		printk(KERN_ERR "Driver registration failed\n");		return err;	}	mac_sonic_device = NULL;	if (!(pldev = kmalloc (sizeof (*pldev), GFP_KERNEL))) {		goto out_unregister;	}	memset(pldev, 0, sizeof (*pldev));	pldev->name		= mac_sonic_string;	pldev->id		= 0;	pldev->dev.release	= mac_sonic_platform_release;	mac_sonic_device	= pldev;	if (platform_device_register (pldev)) {		kfree(pldev);		mac_sonic_device = NULL;	}	return 0;out_unregister:	platform_device_unregister(pldev);	return -ENOMEM;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/09c6518ca0de24549a923891b2d335e8496d79a9/macsonic.c/buggy/drivers/net/macsonic.c