Re: [PATCH 1/1] smbios: empty strings in smbios_add_string()

2020-06-04 Thread Simon Glass
On Mon, 1 Jun 2020 at 07:44, Heinrich Schuchardt wrote: > > smbios_add_string() cannot deal with empty strings. This leads to incorrect > property values and invalid tables. E.g. for the pine64-lts_defconfig > CONFIG_SMBIOS_MANUFACTURER="". Linux command dmidecode shows: > > Table 1: >

[PATCH 1/1] smbios: empty strings in smbios_add_string()

2020-06-01 Thread Heinrich Schuchardt
smbios_add_string() cannot deal with empty strings. This leads to incorrect property values and invalid tables. E.g. for the pine64-lts_defconfig CONFIG_SMBIOS_MANUFACTURER="". Linux command dmidecode shows: Table 1: Manufacturer: sunxi Product Name: sunxi Table 3: Invalid entry