From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752414AbcD1Kwl (ORCPT ); Thu, 28 Apr 2016 06:52:41 -0400 Received: from e14.ny.us.ibm.com ([129.33.205.204]:56986 "EHLO e14.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750932AbcD1Kwk (ORCPT ); Thu, 28 Apr 2016 06:52:40 -0400 X-IBM-Helo: d01dlp01.pok.ibm.com X-IBM-MailFrom: stefanb@linux.vnet.ibm.com X-IBM-RcptTo: arnd@arndb.de;peterhuewe@gmx.de;jarkko.sakkinen@linux.intel.com;tpmdd-devel@lists.sourceforge.net;jgunthorpe@obsidianresearch.com;tpmdd@selhorst.net;linux-kernel@vger.kernel.org Subject: Re: [PATCH] tpm: select ANON_INODES for proxy driver To: Arnd Bergmann , Peter Huewe , Marcel Selhorst , Jarkko Sakkinen References: <1461840382-2996256-1-git-send-email-arnd@arndb.de> Cc: Jason Gunthorpe , tpmdd-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org From: Stefan Berger Message-ID: <5721EB73.9060005@linux.vnet.ibm.com> Date: Thu, 28 Apr 2016 06:52:35 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 MIME-Version: 1.0 In-Reply-To: <1461840382-2996256-1-git-send-email-arnd@arndb.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16042810-0053-0000-0000-0000331D493E X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > Fixes: 794c38e01358 ("tpm: Proxy driver for supporting multiple emulated TPMs") Acked-by: Stefan Berger Thanks.