]> git.baikalelectronics.ru Git - kernel.git/commit
[TG3]: Add missing unlock in tg3_open() error path.
authorIra W. Snyder <kernel@irasnyder.com>
Wed, 22 Nov 2006 01:44:31 +0000 (17:44 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Nov 2006 01:44:31 +0000 (17:44 -0800)
commit3c5353f1bba08db80349bb898d2420f5d7aafce1
treee1fc65a347e23171d28054eeb97316dd255bb97a
parented9e4ff758c92b0ee90125e4c77b3572e0d7c578
[TG3]: Add missing unlock in tg3_open() error path.

Sparse noticed a locking imbalance in tg3_open(). This patch adds an
unlock to one of the error paths, so that tg3_open() always exits
without the lock held.

Signed-off-by: Ira W. Snyder <kernel@irasnyder.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c