Skip to content

Commit a6885a5

Browse files
arndbJarkko Sakkinen
authored andcommitted
tpm: select ANON_INODES for proxy driver
The newly added vtpmx driver fails to build if CONFIG_ANON_INODES is disabled: drivers/char/built-in.o: In function `vtpmx_fops_ioctl': (.text+0x97f8): undefined reference to `anon_inode_getfile' This adds a Kconfig 'select' statement to ensure it's always there when we need it. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Fixes: 794c38e ("tpm: Proxy driver for supporting multiple emulated TPMs") Acked-by: Stefan Berger <stefanb@linux.vnet.ibm.com> Acked-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
1 parent ced01b9 commit a6885a5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/char/tpm/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ config TCG_CRB
125125
config TCG_VTPM_PROXY
126126
tristate "VTPM Proxy Interface"
127127
depends on TCG_TPM
128+
select ANON_INODES
128129
---help---
129130
This driver proxies for an emulated TPM (vTPM) running in userspace.
130131
A device /dev/vtpmx is provided that creates a device pair

0 commit comments

Comments
 (0)