cls = kmalloc(sizeof(struct class), GFP_KERNEL); 
cls = kzalloc(sizeof(*cls), GFP_KERNEL); 
struct class *class_create(struct module *owner, char *name){	struct class *cls;	int retval;	cls = kmalloc(sizeof(struct class), GFP_KERNEL);	if (!cls) {		retval = -ENOMEM;		goto error;	}	memset(cls, 0x00, sizeof(struct class));	cls->name = name;	cls->owner = owner;	cls->class_release = class_create_release;	cls->release = class_device_create_release;	retval = class_register(cls);	if (retval)		goto error;	return cls;error:	kfree(cls);	return ERR_PTR(retval);}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/4aed0644d684428e811bb6944f032b460a3ab165/class.c/clean/drivers/base/class.c