commit | 060aefc666ebadfef6a452d4be118a95f41c1780 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Tue Feb 05 01:38:41 2019 +0100 |
committer | Tom Rini <trini@konsulko.com> | Tue Feb 19 08:55:43 2019 -0500 |
tree | ed8bff57efdee147344cf51a879e11fe9edda697 | |
parent | 029cd7b101bee97cfb3883072ee43b520984043b [diff] |
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>