class_device_create(aoe_class, 
class_device_create(aoe_class, NULL, 
aoechr_init(void){	int n, i;	n = register_chrdev(AOE_MAJOR, "aoechr", &aoe_fops);	if (n < 0) { 		printk(KERN_ERR "aoe: aoechr_init: can't register char device\n");		return n;	}	sema_init(&emsgs_sema, 0);	spin_lock_init(&emsgs_lock);	aoe_class = class_create(THIS_MODULE, "aoe");	if (IS_ERR(aoe_class)) {		unregister_chrdev(AOE_MAJOR, "aoechr");		return PTR_ERR(aoe_class);	}	for (i = 0; i < ARRAY_SIZE(chardevs); ++i)		class_device_create(aoe_class,					MKDEV(AOE_MAJOR, chardevs[i].minor),					NULL, chardevs[i].name);	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/53f4654272df7c51064825024340554b39c9efba/aoechr.c/buggy/drivers/block/aoe/aoechr.c