Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1364158
| From | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] tpm: drop 'base' from struct tpm_vendor_specific |
| Date | 2016-03-24 14:30 +0100 |
| Message-ID | <rgduO-3cJ-13@gated-at.bofh.it> (permalink) |
| References | <rfKj7-7Q0-1@gated-at.bofh.it> <rfU8O-6dp-11@gated-at.bofh.it> |
| Organization | Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo |
On Wed, Mar 23, 2016 at 10:45:42AM -0600, Jason Gunthorpe wrote: > On Wed, Mar 23, 2016 at 08:16:09AM +0200, Jarkko Sakkinen wrote: > > Dropped the field 'base' from struct tpm_vendor_specific and migrated > > it to the private structures of tpm_atmel and tpm_nsc. > > > > Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> > > > +#define atmel_get_priv(chip) ((struct tpm_atmel_priv *) chip->vendor.priv) > > This should be a static inline function not a define > > > +#define tpm_nsc_get_priv(chip) ((struct tpm_nsc_priv *) chip->vendor.priv) > > Ditto > > Otherwise looks ok > > Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com> Thank you. In my the commit now in my master branch they are now changed as static inline functions. > Jason /Jarkko
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] tpm: drop 'base' from struct tpm_vendor_specific Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2016-03-23 07:20 +0100
Re: [PATCH] tpm: drop 'base' from struct tpm_vendor_specific Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2016-03-23 07:30 +0100
Re: [PATCH] tpm: drop 'base' from struct tpm_vendor_specific Jason Gunthorpe <jgunthorpe@obsidianresearch.com> - 2016-03-23 17:50 +0100
Re: [PATCH] tpm: drop 'base' from struct tpm_vendor_specific Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2016-03-24 14:30 +0100
csiph-web