- In tpm_common_write() the size of the command is checked against TPM_BUFSIZE. We therefore need to increase the TPM_BUFSIZE to allow support for larger commands.
Signed-off-by: Arun Menon <[email protected]> --- drivers/char/tpm/tpm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/tpm/tpm.h b/drivers/char/tpm/tpm.h index 87d68ddf270a7..a6933eb075296 100644 --- a/drivers/char/tpm/tpm.h +++ b/drivers/char/tpm/tpm.h @@ -33,7 +33,7 @@ #endif #define TPM_MINOR 224 /* officially assigned */ -#define TPM_BUFSIZE 4096 +#define TPM_BUFSIZE 65536 #define TPM_NUM_DEVICES 65536 #define TPM_RETRY 50 -- 2.53.0

