* [BUG? -next] Compile tpm driver as module
@ 2009-10-30 1:54 Jin Dongming
2009-10-30 4:02 ` Eric Paris
0 siblings, 1 reply; 2+ messages in thread
From: Jin Dongming @ 2009-10-30 1:54 UTC (permalink / raw)
To: Mimi Zohar
Cc: LKLM, James Morris, Eric Paris, Kenji Kaneshige, Hidetoshi Seto
When we compiled tpm driver as module in the next-tree, some errors happened.
The output error messages is showed as following:
drivers/char/tpm/tpm.c:719: error: redefinition of ‘tpm_pcr_read’
include/linux/tpm.h:35: note: previous definition of ‘tpm_pcr_read’ was here
drivers/char/tpm/tpm.c:751: error: redefinition of ‘tpm_pcr_extend’
include/linux/tpm.h:38: note: previous definition of ‘tpm_pcr_extend’ was here
make[3]: *** [drivers/char/tpm/tpm.o] Error 1
The information of .config:
CONFIG_TCG_TPM=m
Though I don't know the real reason, I found that the following patch caused
the problem.
commit d6ba452128178091dab7a04d54f7e66fdc32fb39
title: tpm add default function definitions
Best regards,
Jin Dongming
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-10-30 4:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-30 1:54 [BUG? -next] Compile tpm driver as module Jin Dongming
2009-10-30 4:02 ` Eric Paris
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox