diff options
author | Konstantin Aladyshev <aladyshev22@gmail.com> | 2017-08-01 15:52:46 +0300 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-08-10 15:56:45 +0000 |
commit | d0df1d7c4ebd4d8e654c8350c27a0d9f749a88f6 (patch) | |
tree | 1ebb35d72d65917e20cec93746cae9c5d753cbc7 /src/southbridge | |
parent | 0722613563247d41caa406c176ee452465df3572 (diff) | |
download | coreboot-d0df1d7c4ebd4d8e654c8350c27a0d9f749a88f6.tar.xz |
SMBIOS: Correct length calculation for empty string table
If all strings in SMBIOS table are empty, smbios_string_table_len
function should return 2, cause every table must end with "\0\0".
Also replace "eos" field type in smbios structures
from char to u8.
Change-Id: Ia3178b0030aa71e1ff11a3fd3d102942f0027eb1
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
Reviewed-on: https://review.coreboot.org/20840
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/southbridge')
0 files changed, 0 insertions, 0 deletions