All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jin Dongming <jin.dongming@np.css.fujitsu.com>
To: Mimi Zohar <zohar@us.ibm.com>
Cc: LKLM <linux-kernel@vger.kernel.org>,
	James Morris <jmorris@namei.org>, Eric Paris <eparis@redhat.com>,
	Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>,
	Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Subject: [BUG? -next] Compile tpm driver as module
Date: Fri, 30 Oct 2009 10:54:19 +0900	[thread overview]
Message-ID: <4AEA474B.8060904@np.css.fujitsu.com> (raw)

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


             reply	other threads:[~2009-10-30  1:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-30  1:54 Jin Dongming [this message]
2009-10-30  4:02 ` [BUG? -next] Compile tpm driver as module Eric Paris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4AEA474B.8060904@np.css.fujitsu.com \
    --to=jin.dongming@np.css.fujitsu.com \
    --cc=eparis@redhat.com \
    --cc=jmorris@namei.org \
    --cc=kaneshige.kenji@jp.fujitsu.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=seto.hidetoshi@jp.fujitsu.com \
    --cc=zohar@us.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.