diff options
author | Angel Pons <th3fanbus@gmail.com> | 2021-06-28 15:36:23 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-07-01 07:35:02 +0000 |
commit | 35b99c64e62fd84866dd269a3641b66646f9557f (patch) | |
tree | 8a95363becb766da16e47fadbe87ebca9a5fe06e /src/arch/x86/mpspec.c | |
parent | c6dab80b1cd8fb35115e9876b79abefb6c4f2d91 (diff) |
SMBIOS: Avoid `sizeof` on struct type
Where applicable, use the size of the associated variable.
Change-Id: Ibbac2a82893232a6f87182a6a965b84a599d633e
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55904
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Diffstat (limited to 'src/arch/x86/mpspec.c')
0 files changed, 0 insertions, 0 deletions