Hi Lucas,
Missing comma in static array chassis_map definition between "Blade" and "Blade Enclosure" field. Typing error fixed. .... - "CompactPCI", "unknonw", + "CompactPCI", "unknown", "AdvancedTCA", "unknown", "Blade", "server", - "Blade Enclosure" "unknown", /* 0x1D */ + "Blade Enclosure", "unknown", /* 0x1D */
Lucas De Marchi wrote: Nice catch, but because of errors like this, I think it'd be better to use a struct with 2 "char *" fields, isn't it?
You are right but anyway is this really necessary to make quite big change in struct/control code? There is possible to make other "switch-line" errors when 2 "char *" arrays used. Attaching previous patch again due to possible corruption by my email client. Pavel
Attachment:
0002-Missing-comma.patch
Description: Binary data