Skip to contentSkip to conversation

qtpm2: Export tpm2_get_cc_attrs_tbl for ibmvtpm driver as module

PATCH In review Stefan Berger 4 participants 6 messages Mar 19, 2020 – Apr 14, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 qtpm2: Export tpm2_get_cc_attrs_tbl for ibmvtpm driver as module

From: Stefan Berger <[email protected]>

This patch fixes the following problem when the ibmvtpm driver is built as a module:

ERROR: modpost: "tpm2_get_cc_attrs_tbl" [drivers/char/tpm/tpm_ibmvtpm.ko] undefined! make[1]: *** [scripts/Makefile.modpost:94: __modpost] Error 1
make: *** [Makefile:1298: modules] Error 2

Fixes 18b3670d79ae ("tpm: ibmvtpm: Add support for TPM2")
---
 drivers/char/tpm/tpm2-cmd.c | 1 +
 1 file changed, 1 insertion(+)
drivers/char/tpm/tpm2-cmd.c +1 -0
index 76f67b155bd5..eff1f12d981a 100644
@@ -681,6 +681,7 @@ int tpm2_get_cc_attrs_tbl(struct tpm_chip *chip)
 		rc = -ENODEV;
 	return rc;
 }
+EXPORT_SYMBOL_GPL(tpm2_get_cc_attrs_tbl);
 
 /**
  * tpm2_startup - turn on the TPM
Signature · 1 line
2.23.0
#1 lore raw
Quoted 5 lines · Stefan Berger

From: Stefan Berger <[email protected]>

This patch fixes the following problem when the ibmvtpm driver is built as a module:

Quoted 8 lines

ERROR: modpost: "tpm2_get_cc_attrs_tbl" [drivers/char/tpm/tpm_ibmvtpm.ko] undefined! make[1]: *** [scripts/Makefile.modpost:94: __modpost] Error 1
make: *** [Makefile:1298: modules] Error 2

Fixes 18b3670d79ae ("tpm: ibmvtpm: Add support for TPM2")

Should have "tpm:" tag in the short summary.

/Jarkko

#2 lore raw
Quoted 10 lines · Jarkko Sakkinen
Quoted 5 lines · Stefan Berger

From: Stefan Berger <[email protected]>

This patch fixes the following problem when the ibmvtpm driver is built as a module:

Quoted 9 lines
Quoted 8 lines

ERROR: modpost: "tpm2_get_cc_attrs_tbl" [drivers/char/tpm/tpm_ibmvtpm.ko] undefined! make[1]: *** [scripts/Makefile.modpost:94: __modpost] Error 1
make: *** [Makefile:1298: modules] Error 2

Fixes 18b3670d79ae ("tpm: ibmvtpm: Add support for TPM2")

Ping. This failure can now be seen in mainline (cad18da0af) as well.

Thanks
-Sachin

#3 lore raw
Quoted 14 lines · Sachin Sant
Quoted 14 lines · Jarkko Sakkinen
Quoted 9 lines · Stefan Berger

From: Stefan Berger <[email protected]>

This patch fixes the following problem when the ibmvtpm driver is built as a module:

ERROR: modpost: "tpm2_get_cc_attrs_tbl" [drivers/char/tpm/tpm_ibmvtpm.ko] undefined! make[1]: *** [scripts/Makefile.modpost:94: __modpost] Error 1
make: *** [Makefile:1298: modules] Error 2

Quoted 7 lines
Quoted 5 lines
Quoted 4 lines
Fixes 18b3670d79ae ("tpm: ibmvtpm: Add support for TPM2")

Ping. This failure can now be seen in mainline (cad18da0af) as well.

It is in my tree

/Jarkko

#4 lore raw
Quoted 19 lines · Jarkko Sakkinen
Quoted 18 lines · Sachin Sant
Quoted 17 lines · Jarkko Sakkinen
Quoted 13 lines · Stefan Berger

From: Stefan Berger <[email protected]>

This patch fixes the following problem when the ibmvtpm driver is built as a module:

ERROR: modpost: "tpm2_get_cc_attrs_tbl" [drivers/char/tpm/tpm_ibmvtpm.ko] undefined! make[1]: *** [scripts/Makefile.modpost:94: __modpost] Error 1
make: *** [Makefile:1298: modules] Error 2

Fixes 18b3670d79ae ("tpm: ibmvtpm: Add support for TPM2")
Quoted 3 lines
Quoted 1 line

Ping. This failure can now be seen in mainline (cad18da0af) as well.

It is in my tree

Can you please send it to Linus?

cheers

#5 lore raw
Quoted 20 lines · Michael Ellerman
Quoted 19 lines · Jarkko Sakkinen
Quoted 18 lines · Sachin Sant
Quoted 17 lines · Jarkko Sakkinen
Quoted 13 lines · Stefan Berger

From: Stefan Berger <[email protected]>

This patch fixes the following problem when the ibmvtpm driver is built as a module:

ERROR: modpost: "tpm2_get_cc_attrs_tbl" [drivers/char/tpm/tpm_ibmvtpm.ko] undefined! make[1]: *** [scripts/Makefile.modpost:94: __modpost] Error 1
make: *** [Makefile:1298: modules] Error 2

Fixes 18b3670d79ae ("tpm: ibmvtpm: Add support for TPM2")
Quoted 7 lines
Quoted 3 lines
Quoted 1 line

Ping. This failure can now be seen in mainline (cad18da0af) as well.

It is in my tree

Can you please send it to Linus?

cheers

Yes.

/Jarkko