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

Ashley D Lai adlai at us.ibm.com
Fri Aug 10 06:31:25 EST 2012


Hi Kent,

> > +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...
>

> > +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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20120809/327f82af/attachment.html>


More information about the Linuxppc-dev mailing list