config-tools: fix board inspector crashed error
Fixed the problem of exception handling of the
incoming type error in reading GSI number method
in 40-acpi-tables.py line 37 when dmesg command
line is too long.
@@ -34,7 +34,7 @@ def extract_gsi_number(ioapic_node, apic_id):
add_child(ioapic_node, "gsi_number", str(current_max - previous_max))
break
except:
- add_child(ioapic_node, "gsi_number", DEFAULT_MAX_IOAPIC_LINES)
+ add_child(ioapic_node, "gsi_number", str(DEFAULT_MAX_IOAPIC_LINES))
break
os.close(fd)
