Re: [PATCH] tpm: fix duplicate inline declaration specifier
Ruben Roy <[email protected]>
| Newsgroups | net.sourceforge.lists.tpmdd-devel |
|---|---|
| Message-ID | <CAKmcHfhJVTkpTSHzjt_setDz4ok8zPnF4C6Bw3QdvMhQYHGYOQ@mail.gmail.com> |
Thank you, Jarkko On 4 Oct 2017 5:01 pm, "Jarkko Sakkinen" <jarkko.sakkinen-VuQAYsv1563Yd54FQh9/[email protected]> 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 <[email protected]> > > > --- > > > 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.sakkinen-VuQAYsv1563Yd54FQh9/[email protected]> > > > > /Jarkko > > Applied. > > /Jarkko > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ tpmdd-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tpmdd-devel