diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2019-02-05 03:38:41 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-02-19 16:55:43 +0300 |
commit | c7cd4afb923bd54f18bee71993127aca550f2737 (patch) | |
tree | ed8bff57efdee147344cf51a879e11fe9edda697 /config.mk | |
parent | b78a9e2212d4d15fd16af41ae33d05a5c33954de (diff) | |
download | u-boot-c7cd4afb923bd54f18bee71993127aca550f2737.tar.xz |
tpm: simplify: tpm_set_global_lock()
When in pack_byte_string() memcpy() is called for size 0 the source buffer
address has no relevance. So we can use NULL here.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'config.mk')
0 files changed, 0 insertions, 0 deletions