diff options
| author | Ricardo Schwarzmeier <[email protected]> | 2018-06-26 15:31:45 +0000 |
|---|---|---|
| committer | Jarkko Sakkinen <[email protected]> | 2018-07-28 14:03:11 +0000 |
| commit | 36a11029b07ee30bdc4553274d0efea645ed9d91 (patch) | |
| tree | a0905a4c425cd3c4ce19357b130783a24cc4c977 /tools/perf/scripts/python/syscall-counts.py | |
| parent | tpm: separate cmd_ready/go_idle from runtime_pm (diff) | |
| download | kernel-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/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
