commit | 830a8e3348fe5e74c56c5c6e93f652bc8f5255da | [log] [tgz] |
---|---|---|
author | Tom Rini <trini@konsulko.com> | Tue Apr 12 15:11:22 2016 -0400 |
committer | Simon Glass <sjg@chromium.org> | Fri Apr 15 08:14:37 2016 -0600 |
tree | 4af49ad4fc2afdb4ddc9a013476251aee443a9e0 | |
parent | 1807907b6ca0cde03be7af18347a70eb27963948 [diff] |
drivers/tpm/tpm_tis_sandbox.c: Fix uninitialized variable use In rollback_space_kernel we were not initializing the reserved fields which should be for safety sake, and doing memset here means we don't need to set the version field specifically either. Reported-by: Coverity (CID: 143917) Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>