projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux...
[linux-block.git]
/
drivers
/
char
/
tpm
/
tpm2-cmd.c
diff --git
a/drivers/char/tpm/tpm2-cmd.c
b/drivers/char/tpm/tpm2-cmd.c
index 3ee6883f26c190a757ed571913ec56eaa0297ad6..3a9964326279302d7898774431d332f73d2487b8 100644
(file)
--- a/
drivers/char/tpm/tpm2-cmd.c
+++ b/
drivers/char/tpm/tpm2-cmd.c
@@
-840,7
+840,7
@@
void tpm2_shutdown(struct tpm_chip *chip, u16 shutdown_type)
/* In places where shutdown command is sent there's no much we can do
* except print the error code on a system failure.
*/
- if (rc < 0)
+ if (rc < 0
&& rc != -EPIPE
)
dev_warn(&chip->dev, "transmit returned %d while stopping the TPM",
rc);
}