[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Thu, 09 Sep 2010 15:03:04 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: namhyung@...il.com
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] net/core: add lock context change annotations in
net/core/sock.c
From: Namhyung Kim <namhyung@...il.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@...il.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists