tpm: Zero-init structure to avoid uninitialized variables in valgrind log
Zero-init the ptm_loc structure so that we don't have fields that are not initialised. Signed-off-by: NStefan Berger <stefanb@linux.ibm.com> Reviewed-by: NPhilippe Mathieu-Daudé <philmd@redhat.com> (cherry picked from commit eff1fe9f) Signed-off-by: NMichael Roth <mdroth@linux.vnet.ibm.com>
Showing
想要评论请 注册 或 登录