mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Michał Mirosław" <mirq-linux@rere.qmqm.pl>
To: Axel Lin <axel.lin@gmail.com>
Cc: linux-kernel@vger.kernel.org, Pierre Ossman <pierre@ossman.eu>,
	Chris Ball <cjb@laptop.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Subject: Re: [PATCH] mmc: cb710 core: Add missing spin_lock_init for irq_lock of struct cb710_chip
Date: Wed, 1 Feb 2012 07:41:11 +0100	[thread overview]
Message-ID: <20120201064111.GA18146@rere.qmqm.pl> (raw)
In-Reply-To: <1328070707.3533.6.camel@phoenix>

On Wed, Feb 01, 2012 at 12:31:47PM +0800, Axel Lin wrote:
> Signed-off-by: Axel Lin <axel.lin@gmail.com>
> ---
>  drivers/misc/cb710/core.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/misc/cb710/core.c b/drivers/misc/cb710/core.c
> index 68cd05b..85cc7710 100644
> --- a/drivers/misc/cb710/core.c
> +++ b/drivers/misc/cb710/core.c
> @@ -245,6 +245,7 @@ static int __devinit cb710_probe(struct pci_dev *pdev,
>  	if (err)
>  		return err;
>  
> +	spin_lock_init(&chip->irq_lock);
>  	chip->pdev = pdev;
>  	chip->iobase = pcim_iomap_table(pdev)[0];
>  

Acked-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>

This is -stable material for those using lockdep daily.

Best Regards,
Michał Mirosław

      reply	other threads:[~2012-02-01  6:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-01  4:31 Axel Lin
2012-02-01  6:41 ` Michał Mirosław [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=20120201064111.GA18146@rere.qmqm.pl \
    --to=mirq-linux@rere.qmqm.pl \
    --cc=axel.lin@gmail.com \
    --cc=cjb@laptop.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pierre@ossman.eu \
    /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®