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


Groups > linux.kernel > #1731973

Re: [PATCH 1/3] tpm: fix type of a local variable in tpm2_get_cc_attrs_tbl()

From Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/3] tpm: fix type of a local variable in tpm2_get_cc_attrs_tbl()
Date 2017-09-14 01:10 +0200
Message-ID <upoX7-5ky-11@gated-at.bofh.it> (permalink)
References <upjE5-1RR-15@gated-at.bofh.it> <upkqu-2qd-11@gated-at.bofh.it>
Organization Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo

Show all headers | View raw


On Wed, Sep 13, 2017 at 12:14:21PM -0600, Jason Gunthorpe wrote:
> On Wed, Sep 13, 2017 at 10:26:20AM -0700, Jarkko Sakkinen wrote:
> > The local variable 'attrs' should have the type __be32 instead of u32.
> > 
> > Fixes: 58472f5cd4f6 ("tpm: validate TPM 2.0 commands")
> > Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
> 
> All 3 look good to me:
> 
> Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
> 
> Jason

Thanks!

/Jarkko

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 1/3] tpm: fix type of a local variable in tpm2_get_cc_attrs_tbl() Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2017-09-13 19:30 +0200
  Re: [PATCH 1/3] tpm: fix type of a local variable in  tpm2_get_cc_attrs_tbl() Jason Gunthorpe <jgunthorpe@obsidianresearch.com> - 2017-09-13 20:20 +0200
    Re: [PATCH 1/3] tpm: fix type of a local variable in  tpm2_get_cc_attrs_tbl() Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2017-09-14 01:10 +0200

csiph-web