projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tpm: fix a race condition in tpm2_unseal_trusted()
[cascardo/linux.git]
/
drivers
/
char
/
tpm
/
tpm-sysfs.c
diff --git
a/drivers/char/tpm/tpm-sysfs.c
b/drivers/char/tpm/tpm-sysfs.c
index
b46cf70
..
e1f7236
100644
(file)
--- a/
drivers/char/tpm/tpm-sysfs.c
+++ b/
drivers/char/tpm/tpm-sysfs.c
@@
-39,7
+39,7
@@
static ssize_t pubek_show(struct device *dev, struct device_attribute *attr,
struct tpm_chip *chip = to_tpm_chip(dev);
tpm_cmd.header.in = tpm_readpubek_header;
struct tpm_chip *chip = to_tpm_chip(dev);
tpm_cmd.header.in = tpm_readpubek_header;
- err = tpm_transmit_cmd(chip, &tpm_cmd, READ_PUBEK_RESULT_SIZE,
+ err = tpm_transmit_cmd(chip, &tpm_cmd, READ_PUBEK_RESULT_SIZE,
0,
"attempting to read the PUBEK");
if (err)
goto out;
"attempting to read the PUBEK");
if (err)
goto out;