diff options
author | Patrick Georgi <pgeorgi@google.com> | 2021-05-12 14:54:49 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-05-13 18:34:51 +0000 |
commit | 99973d29af774c54e8859d967b2b9617abebeeb0 (patch) | |
tree | f53ff68408dcec6ee27251c4d043c42ab03bfaf3 /src/mainboard/Kconfig | |
parent | 40b8f01697d6f26f86de7fbda1d0a160dcd4d5df (diff) |
src/security/tpm: Deal with zero length tlcl writes
While memcpy(foo, bar, 0) should be a no-op, that's hard to prove for a
compiler and so gcc 11.1 complains about the use of an uninitialized
"bar" even though it's harmless in this case.
Change-Id: Idbffa508c2cd68790efbc0b4ab97ae1b4d85ad51
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/54095
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jacob Garber <jgarber1@ualberta.ca>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/Kconfig')
0 files changed, 0 insertions, 0 deletions