Re: [PATCH] tpm: select ANON_INODES for proxy driver

From: Stefan Berger
Date: Thu Apr 28 2016 - 06:52:44 EST


On 04/28/2016 06:46 AM, Arnd Bergmann wrote:
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@xxxxxxxx>
Fixes: 794c38e01358 ("tpm: Proxy driver for supporting multiple emulated TPMs")

Acked-by: Stefan Berger <stefanb@xxxxxxxxxxxxxxxxxx>

Thanks.