#98 The class name is NULL in goldfish mach

open
nobody
5
2013-04-13
2012-07-24
Anonymous
No

as the following code[soc/arm/goldfish/skyeye_mach_goldfish.c]

189 void
190 goldfish_mach_init (void *arch_instance, machine_config_t *this_mach)
191 {
192 conf_object_t *pic_obj;
193 goldfish_pic_device* goldfish_pic;
194 pic_obj = pre_conf_obj("goldfish_interrupt_controller0","goldfish_pic");
195 //printf("pic class name %s\n",pic_obj->class_name);
196 goldfish_pic = (goldfish_pic_device *)pic_obj->obj;

The pic class name is NULL when printf at line 195 is enabled. That should be a potantial
bug for our class framework.

Thanks
MK

Discussion