lkml.org 
[lkml]   [2009]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[BUG? -next] Compile tpm driver as module
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



\
 
 \ /
  Last update: 2009-10-30 02:57    [W:0.037 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site