From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751949AbdJDLbO (ORCPT ); Wed, 4 Oct 2017 07:31:14 -0400 Received: from mga11.intel.com ([192.55.52.93]:57506 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751657AbdJDLbN (ORCPT ); Wed, 4 Oct 2017 07:31:13 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,477,1500966000"; d="scan'208";a="319410059" Date: Wed, 4 Oct 2017 14:31:12 +0300 From: Jarkko Sakkinen To: Ruben Roy Cc: Peter Huewe , Marcel Selhorst , Jason Gunthorpe , tpmdd-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, Nick Desaulniers , trivial@kernel.org Subject: Re: [PATCH] tpm: fix duplicate inline declaration specifier Message-ID: <20171004113112.u5jnf3ims7vcxo7b@linux.intel.com> References: <1506434337-15284-1-git-send-email-rubenroy2005@gmail.com> <20170929171704.azziyvlikbv5qnbd@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170929171704.azziyvlikbv5qnbd@linux.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 29, 2017 at 08:17:04PM +0300, Jarkko Sakkinen wrote: > On Tue, Sep 26, 2017 at 01:58:57PM +0000, Ruben Roy wrote: > > This commit fixes the duplicate inline declaration specifier in > > tpm2_rc_value which caused a warning > > > > Signed-off-by: Ruben Roy > > --- > > drivers/char/tpm/tpm.h | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/char/tpm/tpm.h b/drivers/char/tpm/tpm.h > > index 04fbff2..f4d0272 100644 > > --- a/drivers/char/tpm/tpm.h > > +++ b/drivers/char/tpm/tpm.h > > @@ -550,7 +550,7 @@ static inline void tpm_add_ppi(struct tpm_chip *chip) > > } > > #endif > > > > -static inline inline u32 tpm2_rc_value(u32 rc) > > +static inline u32 tpm2_rc_value(u32 rc) > > { > > return (rc & BIT(7)) ? rc & 0xff : rc; > > } > > -- > > 1.8.3.1 > > > > Reviewed-by: Jarkko Sakkinen > > /Jarkko Applied. /Jarkko