Commit 23acb98d authored by Rajiv Andrade's avatar Rajiv Andrade Committed by James Morris

TPM: fix pcrread

The previously sent patch:

Had its first hunk cropped when merged, submitting only this first hunk
Signed-off-by: default avatarJason Gunthorpe <>
Cc: Debora Velarde <>
Cc: Marcel Selhorst <>
Cc: James Morris <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarRajiv Andrade <>
Acked-by: default avatarMimi Zohar <>
Tested-by: default avatarMimi Zohar <>
Signed-off-by: default avatarJames Morris <>
parent af8ff049
......@@ -696,8 +696,7 @@ int __tpm_pcr_read(struct tpm_chip *chip, int pcr_idx, u8 *res_buf) = pcrread_header;
cmd.params.pcrread_in.pcr_idx = cpu_to_be32(pcr_idx);
rc = transmit_cmd(chip, &cmd,,
rc = transmit_cmd(chip, &cmd, READ_PCR_RESULT_SIZE,
"attempting to read a pcr value");
if (rc == 0)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment