Re: [PATCH 2/2] net/core: add lock context change annotations innet/core/sock.c

From: David Miller
Date: Thu Sep 09 2010 - 18:02:51 EST


From: Namhyung Kim <namhyung@xxxxxxxxx>
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@xxxxxxxxx>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/