From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932179AbdBHLos (ORCPT ); Wed, 8 Feb 2017 06:44:48 -0500 Received: from mga11.intel.com ([192.55.52.93]:27632 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753599AbdBHLol (ORCPT ); Wed, 8 Feb 2017 06:44:41 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,346,1477983600"; d="scan'208";a="1092284875" Date: Wed, 8 Feb 2017 13:38:58 +0200 From: Jarkko Sakkinen To: Wei Yongjun Cc: Peter Huewe , Marcel Selhorst , Jason Gunthorpe , Wei Yongjun , tpmdd-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org Subject: Re: [PATCH -next] tpm_tis: fix the error handling of init_tis() Message-ID: <20170208113858.nlevaexee73xvkuy@intel.com> References: <20170207155147.2581-1-weiyj.lk@gmail.com> <20170208113637.4tqtlumwqew3cyuz@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170208113637.4tqtlumwqew3cyuz@intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.6.2-neo (2016-08-21) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 08, 2017 at 01:36:37PM +0200, Jarkko Sakkinen wrote: > On Tue, Feb 07, 2017 at 03:51:47PM +0000, Wei Yongjun wrote: > > From: Wei Yongjun > > > > Add the missing platform_driver_unregister() and remove the duplicate > > platform_device_unregister(force_pdev) in the error handling case. > > > > Fixes: 00194826e6be ("tpm_tis: Clean up the force=1 module parameter") > > Signed-off-by: Wei Yongjun > > Reviewed-by: Jarkko Sakkinen I applied this and added cc to stable. /Jarkko