From: David Miller <davem@davemloft.net>
To: namhyung@gmail.com
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/2] net/core: add lock context change annotations in net/core/sock.c
Date: Thu, 09 Sep 2010 15:03:04 -0700 (PDT) [thread overview]
Message-ID: <20100909.150304.246518344.davem@davemloft.net> (raw)
In-Reply-To: <1283953728-15302-2-git-send-email-namhyung@gmail.com>
From: Namhyung Kim <namhyung@gmail.com>
Date: Wed, 8 Sep 2010 22:48:48 +0900
> __lock_sock() and __release_sock() releases and regrabs lock but
> were missing proper annotations. Add it. This removes following
> warning from sparse. (Currently __lock_sock() does not emit any
> warning about it but I think it is better to add also.)
>
> net/core/sock.c:1580:17: warning: context imbalance in '__release_sock' - unexpected unlock
>
> Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Applied.
next prev parent reply other threads:[~2010-09-09 22:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-08 13:48 [PATCH 1/2] net/core: remove address space warnings on verify_iovec() Namhyung Kim
2010-09-08 13:48 ` [PATCH 2/2] net/core: add lock context change annotations in net/core/sock.c Namhyung Kim
2010-09-09 22:03 ` David Miller [this message]
2010-09-09 22:02 ` [PATCH 1/2] net/core: remove address space warnings on verify_iovec() David Miller
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=20100909.150304.246518344.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=namhyung@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).