Thread (7 messages) 7 messages, 3 authors, 2012-08-09

Re: [PATCH 3/3] drivers/char/tpm: Add securityfs support for event log

flat view

From: Ashley D Lai <hidden>
Date: 2012-08-09 20:32:12

Hi Kent,
quoted
+ifdef CONFIG_TCG_IBMVTPM
+   tpm_bios-objs += tpm_eventlog.o tpm_of.o
+else
+   tpm_bios-objs += tpm_eventlog.o tpm_noeventlog.o
  tpm_eventlog.c is included in all cases here...
quoted
+static inline struct dentry **tpm_bios_log_setup(char *name)
+{
+   return NULL;
+}
+static inline void tpm_bios_log_teardown(struct dentry **dir)
+{
+}
+#endif
  But here, without acpi or ppc64, we compile in stubs, which breaks
things. It looks like we don't need these stubs at all anymore, and can
rely on TPM_NO_EVENT_LOG to bail out in the cases on x86 where ACPI is
disabled.

Kent
Thanks for testing it out.  I will fix it in the next version.

--Ashley
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help