netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Garzik <jeff@garzik.org>
To: akpm@linux-foundation.org
Cc: netdev@vger.kernel.org, jirislaby@gmail.com, jgarzik@pobox.com
Subject: Re: [patch 06/10] Net: ibm_newemac, remove SPIN_LOCK_UNLOCKED
Date: Fri, 14 Dec 2007 16:14:12 -0500	[thread overview]
Message-ID: <4762F224.8050203@garzik.org> (raw)
In-Reply-To: <200712140002.lBE02vqD025526@imap1.linux-foundation.org>

akpm@linux-foundation.org wrote:
> From: Jiri Slaby <jirislaby@gmail.com>
> 
> SPIN_LOCK_UNLOCKED is deprecated, use DEFINE_SPINLOCK instead
> 
> Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
> Cc: Jeff Garzik <jgarzik@pobox.com>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
> ---
> 
>  drivers/net/ibm_newemac/debug.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff -puN drivers/net/ibm_newemac/debug.c~net-ibm_newemac-remove-spin_lock_unlocked drivers/net/ibm_newemac/debug.c
> --- a/drivers/net/ibm_newemac/debug.c~net-ibm_newemac-remove-spin_lock_unlocked
> +++ a/drivers/net/ibm_newemac/debug.c
> @@ -21,7 +21,7 @@
>  
>  #include "core.h"
>  
> -static spinlock_t emac_dbg_lock = SPIN_LOCK_UNLOCKED;
> +static DEFINE_SPINLOCK(emac_dbg_lock);
>  

applied #upstream-fixes



      reply	other threads:[~2007-12-14 21:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-14  0:02 [patch 06/10] Net: ibm_newemac, remove SPIN_LOCK_UNLOCKED akpm
2007-12-14 21:14 ` Jeff Garzik [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=4762F224.8050203@garzik.org \
    --to=jeff@garzik.org \
    --cc=akpm@linux-foundation.org \
    --cc=jgarzik@pobox.com \
    --cc=jirislaby@gmail.com \
    --cc=netdev@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).