[PATCH] tpm2: Export tpm2_get_cc_attrs_tbl for ibmvtpm driver as module

Sachin Sant sachinp at linux.vnet.ibm.com
Wed Mar 18 02:22:03 AEDT 2020


> On 17-Mar-2020, at 6:38 PM, Stefan Berger <stefanb at linux.vnet.ibm.com> wrote:
> 
> From: Stefan Berger <stefanb at linux.ibm.com>
> 
> 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
> 
> Signed-off-by: Stefan Berger <stefanb at linux.ibm.com>

Reported-by: Sachin Sant <sachinp at linux.vnet.ibm.com>
Tested-by: Sachin Sant <sachinp at linux.vnet.ibm.com>

Thanks
-Sachin



More information about the Linuxppc-dev mailing list