aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRicardo Schwarzmeier <[email protected]>2018-06-26 15:31:45 +0000
committerJarkko Sakkinen <[email protected]>2018-07-28 14:03:11 +0000
commit36a11029b07ee30bdc4553274d0efea645ed9d91 (patch)
treea0905a4c425cd3c4ce19357b130783a24cc4c977 /tools/perf/scripts/python
parenttpm: separate cmd_ready/go_idle from runtime_pm (diff)
downloadkernel-36a11029b07ee30bdc4553274d0efea645ed9d91.tar.gz
kernel-36a11029b07ee30bdc4553274d0efea645ed9d91.zip
tpm: Return the actual size when receiving an unsupported command
The userpace expects to read the number of bytes stated in the header. Returning the size of the buffer instead would be unexpected. Cc: [email protected] Fixes: 095531f891e6 ("tpm: return a TPM_RC_COMMAND_CODE response if command is not implemented") Signed-off-by: Ricardo Schwarzmeier <[email protected]> Reviewed-by: Jarkko Sakkinen <[email protected]> Signed-off-by: Jarkko Sakkinen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions