Subversion Repositories Kolibri OS

Rev

Rev 1963 | Rev 2160 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1963 Rev 2004
Line 884... Line 884...
884
 
884
 
885
	total_objects += dev->mode_config.num_crtc;
885
	total_objects += dev->mode_config.num_crtc;
886
	total_objects += dev->mode_config.num_connector;
886
	total_objects += dev->mode_config.num_connector;
Line 887... Line -...
887
	total_objects += dev->mode_config.num_encoder;
-
 
888
 
-
 
889
	if (total_objects == 0)
-
 
890
		return -EINVAL;
887
	total_objects += dev->mode_config.num_encoder;
891
 
888
 
892
	group->id_list = kzalloc(total_objects * sizeof(uint32_t), GFP_KERNEL);
889
	group->id_list = kzalloc(total_objects * sizeof(uint32_t), GFP_KERNEL);
Line 893... Line 890...
893
	if (!group->id_list)
890
	if (!group->id_list)