All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Mundt <lethal@linux-sh.org>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH] sh: fix uninitialized spinlock
Date: Wed, 06 Oct 2010 08:02:46 +0000	[thread overview]
Message-ID: <20101006080246.GC15712@linux-sh.org> (raw)
In-Reply-To: <1286294040-6171-1-git-send-email-akinobu.mita@gmail.com>

On Wed, Oct 06, 2010 at 12:54:00AM +0900, Akinobu Mita wrote:
> The spinlock in traps_64.c is used without initialization.
> This fixes it by declaring DEFINE_SPINLOCK() and makes the spinlock static
> variable.
> 
> Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
> Cc: Paul Mundt <lethal@linux-sh.org>
> Cc: linux-sh@vger.kernel.org

Hmm, there was a reason why this was non-static before, but it seems like
whatever that was has since corrected itself.  Applied, thanks!

      reply	other threads:[~2010-10-06  8:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-05 15:54 [PATCH] sh: fix uninitialized spinlock Akinobu Mita
2010-10-06  8:02 ` Paul Mundt [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=20101006080246.GC15712@linux-sh.org \
    --to=lethal@linux-sh.org \
    --cc=linux-sh@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.