From: Jiri Slaby Date: Tue, 16 Mar 2010 14:57:44 +0000 (+0100) Subject: PCMCIA: resource, fix lock imbalance X-Git-Tag: v2.6.34-rc2~30^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e06e240dcbb803433ee31bfe89a3e785a77cd3b;p=pandora-kernel.git PCMCIA: resource, fix lock imbalance Stanse found that one error path (when alloc_skb fails) in netdev_tx omits to unlock hw_priv->hwlock. Fix that by moving away from unlock in each fail path. Unlock at one place instead. Introduced in 94a819f80297e1f635a7cde4ed5317612e512ba7 (pcmcia: assert locking to struct pcmcia_device) Signed-off-by: Jiri Slaby Signed-off-by: Dominik Brodowski --- Reading git-diff-tree failed