From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ruben Roy Subject: Re: [PATCH] tpm: fix duplicate inline declaration specifier Date: Wed, 4 Oct 2017 17:04:04 +0530 Message-ID: References: <1506434337-15284-1-git-send-email-rubenroy2005@gmail.com> <20170929171704.azziyvlikbv5qnbd@linux.intel.com> <20171004113112.u5jnf3ims7vcxo7b@linux.intel.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7828287310225021747==" Return-path: In-Reply-To: <20171004113112.u5jnf3ims7vcxo7b-VuQAYsv1563Yd54FQh9/CA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: tpmdd-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Jarkko Sakkinen Cc: trivial-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Nick Desaulniers , Jason Gunthorpe , tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: tpmdd-devel@lists.sourceforge.net --===============7828287310225021747== Content-Type: multipart/alternative; boundary="001a114221ca3615b6055ab6fc13" --001a114221ca3615b6055ab6fc13 Content-Type: text/plain; charset="UTF-8" Thank you, Jarkko On 4 Oct 2017 5:01 pm, "Jarkko Sakkinen" wrote: > 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 > --001a114221ca3615b6055ab6fc13 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thank you, Jarkko

On 4 Oct 2017 5:01 pm, "Jarkko Sakkinen" = <jarkko.sakkinen@linu= x.intel.com> wrote:
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 <rubenroy2005-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> > ---
> >=C2=A0 drivers/char/tpm/tpm.h | 2 +-
> >=C2=A0 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_chi= p *chip)
> >=C2=A0 }
> >=C2=A0 #endif
> >
> > -static inline inline u32 tpm2_rc_value(u32 rc)
> > +static inline u32 tpm2_rc_value(u32 rc)
> >=C2=A0 {
> >=C2=A0 =C2=A0 =C2=A0return (rc & BIT(7)) ? rc & 0xff : rc;=
> >=C2=A0 }
> > --
> > 1.8.3.1
> >
>
> Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen-VuQAYsv1562uYJLRA6qg5Q@public.gmane.orgcom>
>
> /Jarkko

Applied.

/Jarkko
--001a114221ca3615b6055ab6fc13-- --===============7828287310225021747== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot --===============7828287310225021747== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ tpmdd-devel mailing list tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/tpmdd-devel --===============7828287310225021747==--