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


Groups > linux.kernel > #1731767

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

From Jason Gunthorpe <jgunthorpe@obsidianresearch.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-13 20:20 +0200
Message-ID <upkqu-2qd-11@gated-at.bofh.it> (permalink)
References <upjE5-1RR-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Next 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