All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tadeusz Struk <tadeusz.struk@intel.com>
To: James Bottomley <James.Bottomley@HansenPartnership.com>,
	jarkko.sakkinen@linux.intel.com
Cc: grawity@gmail.com, linux-integrity@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] tpm: fix an invalid condition in tpm_common_poll
Date: Wed, 20 Mar 2019 07:49:27 -0700	[thread overview]
Message-ID: <d707229d-e395-2c31-7bf6-c0ca2a19b625@intel.com> (raw)
In-Reply-To: <1553092243.2835.3.camel@HansenPartnership.com>

On 3/20/19 7:30 AM, James Bottomley wrote:
> Just an observation on this: the mutex is now no-longer necessary
> because a read on a size_t quantity is always atomic.

True, that's why it wasn't there at the beginning, but
then things changed and I forgot to add it, so let's
put it there just in case.

Thanks,
-- 
Tadeusz

  reply	other threads:[~2019-03-20 14:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-19 20:31 [PATCH v2] tpm: fix an invalid condition in tpm_common_poll Tadeusz Struk
2019-03-20 14:30 ` James Bottomley
2019-03-20 14:49   ` Tadeusz Struk [this message]
2019-03-20 18:51 ` Mantas Mikulėnas
2019-03-20 19:18   ` Tadeusz Struk
2019-03-21 14:04     ` Jarkko Sakkinen
2019-03-21 13:59 ` Jarkko Sakkinen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d707229d-e395-2c31-7bf6-c0ca2a19b625@intel.com \
    --to=tadeusz.struk@intel.com \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=grawity@gmail.com \
    --cc=jarkko.sakkinen@linux.intel.com \
    --cc=linux-integrity@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.