lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4AEA474B.8060904@np.css.fujitsu.com>
Date:	Fri, 30 Oct 2009 10:54:19 +0900
From:	Jin Dongming <jin.dongming@...css.fujitsu.com>
To:	Mimi Zohar <zohar@...ibm.com>
CC:	LKLM <linux-kernel@...r.kernel.org>,
	James Morris <jmorris@...ei.org>,
	Eric Paris <eparis@...hat.com>,
	Kenji Kaneshige <kaneshige.kenji@...fujitsu.com>,
	Hidetoshi Seto <seto.hidetoshi@...fujitsu.com>
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ