3 comments:
is that a typo or is that a name from some spec?
Patch Set #1, Line 308: static
why static?
har *smbios_system_serial_number(void)
{
static char serial[VPD_SERIAL_LEN];
if (vpd_gets(VPD_KEY_SYSTEM_SERIAL, serial, VPD_SERIAL_LEN, VPD_RO))
return serial;
return "";
}
const char *smbios_mainboard_serial_number(void)
{
static char serial[VPD_SERIAL_LEN];
if (vpd_gets(VPD_KEY_MAINBOARD_SERIAL, serial, VPD_SERIAL_LEN, VPD_RO))
return serial;
return "";
}
#endif
shouldn't that go to smbios and make use of vpd functionality from there? (also the Kconfig)
To view, visit change 49050. To unsubscribe, or for help writing mail filters, visit settings.