Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1430897 > unrolled thread

Re: [PATCH 1/5] tpm: unify tpm_gen_interrupt()

Started byJason Gunthorpe <jgunthorpe@obsidianresearch.com>
First post2016-06-24 21:40 +0200
Last post2016-06-24 22:30 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 1/5] tpm: unify tpm_gen_interrupt() Jason Gunthorpe <jgunthorpe@obsidianresearch.com> - 2016-06-24 21:40 +0200
    Re: [PATCH 1/5] tpm: unify tpm_gen_interrupt() Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2016-06-24 22:30 +0200

#1430897 — Re: [PATCH 1/5] tpm: unify tpm_gen_interrupt()

FromJason Gunthorpe <jgunthorpe@obsidianresearch.com>
Date2016-06-24 21:40 +0200
SubjectRe: [PATCH 1/5] tpm: unify tpm_gen_interrupt()
Message-ID<rNF7j-3VP-9@gated-at.bofh.it>
On Fri, Jun 17, 2016 at 11:10:43PM +0200, Jarkko Sakkinen wrote:
>  extern int tpm_get_timeouts(struct tpm_chip *);
> -extern void tpm_gen_interrupt(struct tpm_chip *);
> +void tpm_gen_interrupt(struct tpm_chip *);

Dropping the argument name is not the kernel standard, if these lines
are going to be churned they may as well be churned to the standard.

FWIW, all the extern's should be dropped too.

Jason

[toc] | [next] | [standalone]


#1430922

FromJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Date2016-06-24 22:30 +0200
Message-ID<rNFTH-4ti-3@gated-at.bofh.it>
In reply to#1430897
On Fri, Jun 24, 2016 at 01:30:24PM -0600, Jason Gunthorpe wrote:
> On Fri, Jun 17, 2016 at 11:10:43PM +0200, Jarkko Sakkinen wrote:
> >  extern int tpm_get_timeouts(struct tpm_chip *);
> > -extern void tpm_gen_interrupt(struct tpm_chip *);
> > +void tpm_gen_interrupt(struct tpm_chip *);
> 
> Dropping the argument name is not the kernel standard, if these lines
> are going to be churned they may as well be churned to the standard.
> 
> FWIW, all the extern's should be dropped too.

Thanks for pointin these out. And yes, since this is mostly a cleanup
series, adding a patch that would clean up those unnecessary externs
would make sense. I'll send a revised version with your suggestions.

> Jason

/Jarkko

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web