Heinrich Schuchardt
6ebf9136ec
smbios: if a string value is unknown, use string number 0
...
The SMBIOS specification describes: "If a string field references no string,
a null (0) is placed in that string field."
Accordingly we should avoid writing a string "Unknown" to the SMBIOS table.
dmidecode displays 'Not Specified' if the string number is 0.
Commit 00a871d34e ("smbios: empty strings in smbios_add_string()")
correctly identified that strings may not have length 0 as two
consecutive NULs indentify the end of the string list. But the suggested
solution did not match the intent of the SMBIOS specification.
Fixes: 00a871d34e ("smbios: empty strings in smbios_add_string()")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com >
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org >
2024-02-02 19:56:54 +01:00
..
2024-01-07 13:49:15 -07:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2022-01-18 08:31:02 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-06-20 16:08:13 -04:00
2024-01-13 18:17:46 +01:00
2023-12-21 08:54:37 -05:00
2024-01-29 11:31:44 +01:00
2024-01-29 11:29:19 +01:00
2024-01-13 18:17:47 +01:00
2023-12-21 08:54:37 -05:00
2020-04-26 14:23:55 -06:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2024-01-18 17:50:27 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2020-01-22 17:47:57 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-09-24 09:54:57 -04:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2018-09-18 00:01:18 -06:00
2024-01-24 16:17:14 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2022-04-21 14:32:40 -04:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2018-05-07 09:34:12 -04:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2020-05-18 21:19:23 -04:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2021-05-24 14:21:30 -04:00
2021-04-14 15:06:08 -04:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2024-01-07 13:45:07 -07:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-18 09:55:32 -05:00
2018-05-07 09:34:12 -04:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-10-17 20:50:52 -04:00
2023-12-21 08:54:37 -05:00
2024-01-09 14:58:33 +01:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2019-12-06 16:44:20 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2021-06-11 16:34:52 +05:30
2018-05-07 09:34:12 -04:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2024-02-02 19:55:29 +01:00
2024-02-02 19:56:54 +01:00
2020-08-24 14:11:31 -04:00
2023-08-08 17:05:43 -04:00
2023-12-21 08:54:37 -05:00
2024-01-09 10:08:52 +01:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2022-01-19 18:11:34 +01:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2024-01-26 14:17:55 +01:00
2023-12-21 08:54:37 -05:00
2019-05-05 08:48:50 -04:00