Page MenuHomeFreeBSD

D35998.diff
No OneTemporary

D35998.diff

diff --git a/sys/dev/tpm/tpm_crb.c b/sys/dev/tpm/tpm_crb.c
--- a/sys/dev/tpm/tpm_crb.c
+++ b/sys/dev/tpm/tpm_crb.c
@@ -114,7 +114,7 @@
status = AcpiGetTable(ACPI_SIG_TPM2, 1, (ACPI_TABLE_HEADER **) &tbl);
if(ACPI_FAILURE(status) ||
tbl->StartMethod != TPM2_START_METHOD_CRB)
- err = ENXIO;
+ return (ENXIO);
device_set_desc(dev, "Trusted Platform Module 2.0, CRB mode");
return (err);

File Metadata

Mime Type
text/plain
Expires
Sun, Jan 19, 10:44 AM (21 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15939225
Default Alt Text
D35998.diff (403 B)

Event Timeline