diff options
author | 2018-03-05 14:48:26 +0200 | |
---|---|---|
committer | 2018-03-23 10:18:06 +0200 | |
commit | 62c09e12bbf887d01397323888d5fe89a215a7e2 (patch) | |
tree | 71d507a2eab993e70c2c7d4ba64dfa874777d992 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | tpm: tpm-interface: fix tpm_transmit/_cmd kdoc (diff) | |
download | linux-dev-62c09e12bbf887d01397323888d5fe89a215a7e2.tar.xz linux-dev-62c09e12bbf887d01397323888d5fe89a215a7e2.zip |
tpm: fix buffer type in tpm_transmit_cmd
1. The buffer cannot be const as it is used both for send and receive.
2. Drop useless casting to u8 *, as this is already a
type of 'buf' parameter, it has just masked the 'const' issue.
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions