mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jesse Barnes <jbarnes@virtuousgeek.org>
To: tom.leiming@gmail.com
Cc: kristen.c.accardi@intel.com, linux-pci@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH/RESEND] PCI:pciehp:remove unnecessary volatile in struct controller
Date: Wed, 16 Jul 2008 08:47:37 -0700	[thread overview]
Message-ID: <200807160847.37579.jbarnes@virtuousgeek.org> (raw)
In-Reply-To: <1216220070-4246-1-git-send-email-tom.leiming@gmail.com>

On Wednesday, July 16, 2008 7:54 am tom.leiming@gmail.com wrote:
> From: Ming Lei <tom.leiming@gmail.com>
>
> Proper memory barriers have been added to order accesses
> to ->cmd_busy, so volatile declaration for cmd_busy can
> be removed.
>
> Signed-off-by: Ming Lei <tom.leiming@gmail.com>
> ---
>  drivers/pci/hotplug/pciehp.h |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/pci/hotplug/pciehp.h b/drivers/pci/hotplug/pciehp.h
> index 79c9dda..5e2becd 100644
> --- a/drivers/pci/hotplug/pciehp.h
> +++ b/drivers/pci/hotplug/pciehp.h
> @@ -96,7 +96,7 @@ struct controller {
>  	u32 slot_cap;
>  	u8 cap_base;
>  	struct timer_list poll_timer;
> -	volatile int cmd_busy;
> +	int cmd_busy;
>  	unsigned int no_cmd_complete:1;
>  };

Yeah I saw the first one, just hadn't had a chance to reply/apply yet.  I just 
applied it to my linux-next branch and pushed.

Jesse

      reply	other threads:[~2008-07-16 15:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-16 14:54 tom.leiming
2008-07-16 15:47 ` Jesse Barnes [this message]

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=200807160847.37579.jbarnes@virtuousgeek.org \
    --to=jbarnes@virtuousgeek.org \
    --cc=kristen.c.accardi@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=tom.leiming@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®