commit | 20dcde4af645f233d11fd3793727c0ec14fc4a85 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Mon Jun 01 15:44:00 2020 +0200 |
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | Fri Jun 05 04:04:41 2020 +0200 |
tree | 37e32434c5fa9d0871dcf523c78e8015584ff191 | |
parent | 9e4bacb1ad69a24e8789cf16d81d5bf564f8d28d [diff] |
smbios: empty strings in smbios_add_string() 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 length (2). DMI table is broken! Stop. Replace empty strings by "Unknown". Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>