Message ID | 201603122327.u2CNRGVa026001@d01av03.pok.ibm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <tpmdd-devel-bounces@lists.sourceforge.net> X-Original-To: patchwork-tpmdd-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 2717AC0553 for <patchwork-tpmdd-devel@patchwork.kernel.org>; Sat, 12 Mar 2016 23:27:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F20E8201B4 for <patchwork-tpmdd-devel@patchwork.kernel.org>; Sat, 12 Mar 2016 23:27:33 +0000 (UTC) Received: from lists.sourceforge.net (lists.sourceforge.net [216.34.181.88]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7DEF620117 for <patchwork-tpmdd-devel@patchwork.kernel.org>; Sat, 12 Mar 2016 23:27:32 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=sfs-ml-2.v29.ch3.sourceforge.com) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from <tpmdd-devel-bounces@lists.sourceforge.net>) id 1aeswU-0007Aq-2a; Sat, 12 Mar 2016 23:27:30 +0000 Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from <stefanb@us.ibm.com>) id 1aeswS-0007AZ-Ci for tpmdd-devel@lists.sourceforge.net; Sat, 12 Mar 2016 23:27:28 +0000 Received-SPF: pass (sog-mx-2.v43.ch3.sourceforge.com: domain of us.ibm.com designates 32.97.110.149 as permitted sender) client-ip=32.97.110.149; envelope-from=stefanb@us.ibm.com; helo=e31.co.us.ibm.com; Received: from e31.co.us.ibm.com ([32.97.110.149]) by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1aeswR-0006HW-7z for tpmdd-devel@lists.sourceforge.net; Sat, 12 Mar 2016 23:27:28 +0000 Received: from localhost by e31.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for <tpmdd-devel@lists.sourceforge.net> from <stefanb@us.ibm.com>; Sat, 12 Mar 2016 16:27:21 -0700 Received: from d03dlp03.boulder.ibm.com (9.17.202.179) by e31.co.us.ibm.com (192.168.1.131) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Sat, 12 Mar 2016 16:27:18 -0700 X-IBM-Helo: d03dlp03.boulder.ibm.com X-IBM-MailFrom: stefanb@us.ibm.com X-IBM-RcptTo: tpmdd-devel@lists.sourceforge.net Received: from b01cxnp23034.gho.pok.ibm.com (b01cxnp23034.gho.pok.ibm.com [9.57.198.29]) by d03dlp03.boulder.ibm.com (Postfix) with ESMTP id 2808619D803E for <tpmdd-devel@lists.sourceforge.net>; Sat, 12 Mar 2016 16:15:13 -0700 (MST) Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [9.56.224.217]) by b01cxnp23034.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u2CNRH1429622498 for <tpmdd-devel@lists.sourceforge.net>; Sat, 12 Mar 2016 23:27:17 GMT Received: from d01av03.pok.ibm.com (localhost [127.0.0.1]) by d01av03.pok.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u2CNRHLL026025 for <tpmdd-devel@lists.sourceforge.net>; Sat, 12 Mar 2016 18:27:17 -0500 Received: from d50lp33.co.us.ibm.com (d50lp33.boulder.ibm.com [9.17.249.38]) by d01av03.pok.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id u2CNRGVa026001 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <tpmdd-devel@lists.sourceforge.net>; Sat, 12 Mar 2016 18:27:17 -0500 Message-Id: <201603122327.u2CNRGVa026001@d01av03.pok.ibm.com> Received: from localhost by d50lp33.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for <tpmdd-devel@lists.sourceforge.net> from <stefanb@us.ibm.com>; Sat, 12 Mar 2016 16:27:16 -0700 Received: from smtp.notes.na.collabserv.com (192.155.248.73) by d50lp33.co.us.ibm.com (192.168.2.144) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256/256) Sat, 12 Mar 2016 16:27:15 -0700 X-IBM-Helo: smtp.notes.na.collabserv.com X-IBM-MailFrom: stefanb@us.ibm.com X-IBM-RcptTo: tpmdd-devel@lists.sourceforge.net Received: from /spool/local by smtp.notes.na.collabserv.com with smtp.notes.na.collabserv.com ESMTP for <tpmdd-devel@lists.sourceforge.net> from <stefanb@us.ibm.com>; Sat, 12 Mar 2016 23:27:14 -0000 Received: from us1a3-smtp01.a3.dal06.isc4sb.com (10.106.154.95) by smtp.notes.na.collabserv.com (10.106.227.90) with smtp.notes.na.collabserv.com ESMTP; Sat, 12 Mar 2016 23:27:13 -0000 Received: from us1a3-mail155.a3.dal06.isc4sb.com ([10.146.38.88]) by us1a3-smtp01.a3.dal06.isc4sb.com with ESMTP id 2016031223271311-139861 ; Sat, 12 Mar 2016 23:27:13 +0000 In-Reply-To: <20160312185154.GA12412@intel.com> To: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> From: "Stefan Berger" <stefanb@us.ibm.com> Date: Sat, 12 Mar 2016 18:27:13 -0500 References: <1457751065-11507-1-git-send-email-stefanb@linux.vnet.ibm.com><1457751065-11507-9-git-send-email-stefanb@linux.vnet.ibm.com> <20160312185154.GA12412@intel.com> MIME-Version: 1.0 X-KeepSent: 6E0DBB9D:02821E77-00257F74:0080A7FF; type=4; name=$KeepSent X-Mailer: IBM Notes Release 9.0.1FP5 SHF106 December 12, 2015 X-LLNOutbound: False X-Disclaimed: 58651 X-TNEFEvaluated: 1 x-cbid: 16031223-8236-0000-0000-000017294AC3 X-IBM-ISS-SpamDetectors: Score=0.417846; BY=0; FL=0; FP=0; FZ=0; HX=0; KW=0; PH=0; SC=0.417846; ST=0; TS=0; UL=0; ISC= X-IBM-ISS-DetailInfo: BY=3.00005031; HX=3.00000240; KW=3.00000007; PH=3.00000004; SC=3.00000150; SDB=6.00672464; UDB=6.00307475; UTC=2016-03-12 23:27:13 x-cbparentid: 16031223-0598-0000-0000-000006E07AC4 X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER X-Spam-Score: 0.7 (/) X-Headers-End: 1aeswR-0006HW-7z Cc: linux-api@vger.kernel.org, Stefan, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, tpmdd-devel@lists.sourceforge.net Subject: Re: [tpmdd-devel] [PATCH v7 08/10] tpm: Proxy driver for supporting multiple emulated TPMs X-BeenThere: tpmdd-devel@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: Tpm Device Driver maintainance <tpmdd-devel.lists.sourceforge.net> List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/tpmdd-devel>, <mailto:tpmdd-devel-request@lists.sourceforge.net?subject=unsubscribe> List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum_name=tpmdd-devel> List-Post: <mailto:tpmdd-devel@lists.sourceforge.net> List-Help: <mailto:tpmdd-devel-request@lists.sourceforge.net?subject=help> List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/tpmdd-devel>, <mailto:tpmdd-devel-request@lists.sourceforge.net?subject=subscribe> Content-Type: multipart/mixed; boundary="===============6116504829655354580==" Errors-To: tpmdd-devel-bounces@lists.sourceforge.net X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, HK_RANDOM_ENVFROM, HTML_MESSAGE, MSGID_FROM_MTA_HEADER, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/char/tpm/tpm_vtpm_proxy.c b/drivers/char/tpm/tpm_vtpm_proxy.c index d73944e..01e5070 100644 --- a/drivers/char/tpm/tpm_vtpm_proxy.c +++ b/drivers/char/tpm/tpm_vtpm_proxy.c @@ -456,10 +456,10 @@ err_delete_proxy_dev: */ static void vtpm_proxy_delete_device(struct proxy_dev *proxy_dev) { - tpm_chip_unregister(proxy_dev->chip); - vtpm_proxy_fops_undo_open(proxy_dev); + tpm_chip_unregister(proxy_dev->chip); + vtpm_proxy_delete_proxy_dev(proxy_dev); }