diff options
author | Manuel Lauss <[email protected]> | 2017-06-19 08:27:17 +0200 |
---|---|---|
committer | James Morris <[email protected]> | 2017-07-07 09:49:25 +1000 |
commit | f128480f39166c0a4475b6937e7e3e148b1caecc (patch) | |
tree | a7595923697af1ebe69de071052689102ffb59bb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 13b47cfcfc60495cde216eef4c01040d76174cbe (diff) |
tpm/tpm_crb: fix priv->cmd_size initialisation
priv->cmd_size is never initialised if the cmd and rsp buffers reside
at different addresses. Initialise it in the exit path of the function
when rsp buffer has also been successfully allocated.
Fixes: aa77ea0e43dc ("tpm/tpm_crb: cache cmd_size register value.").
Signed-off-by: Manuel Lauss <[email protected]>
Reviewed-by: Jarkko Sakkinen <[email protected]>
Tested-by: Jarkko Sakkinen <[email protected]>
Signed-off-by: Jarkko Sakkinen <[email protected]>
Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions