vmlogrdr_class = class_simple_create(THIS_MODULE, "vmlogrdr"); 
vmlogrdr_class = class_create(THIS_MODULE, "vmlogrdr"); 
vmlogrdr_register_driver(void) {	int ret;	ret = driver_register(&vmlogrdr_driver);	if (ret) {		printk(KERN_ERR "vmlogrdr: failed to register driver.\n");		return ret;	}	ret = driver_create_file(&vmlogrdr_driver,				 &driver_attr_recording_status);	if (ret) {		printk(KERN_ERR "vmlogrdr: failed to add driver attribute.\n");		goto unregdriver;	}	vmlogrdr_class = class_simple_create(THIS_MODULE, "vmlogrdr");	if (IS_ERR(vmlogrdr_class)) {		printk(KERN_ERR "vmlogrdr: failed to create class.\n");		ret=PTR_ERR(vmlogrdr_class);		vmlogrdr_class=NULL;		goto unregattr;	}	return 0;unregattr:	driver_remove_file(&vmlogrdr_driver, &driver_attr_recording_status);unregdriver:	driver_unregister(&vmlogrdr_driver);	return ret;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/56b2293595b2eb52cc2aa2baf92c6cfa8265f9d5/vmlogrdr.c/buggy/drivers/s390/char/vmlogrdr.c