summaryrefslogtreecommitdiffstats
path: root/arch/cris
diff options
context:
space:
mode:
authorRasesh Mody <rmody@brocade.com>2011-09-22 02:55:41 +0200
committerDavid S. Miller <davem@davemloft.net>2011-09-22 02:55:41 +0200
commit3fc72370186be2f9d4d6ef06d99e1caa5d92c564 (patch)
tree94537707a3ed7c7f1ab1584cd11923ff20b49a1b /arch/cris
parentMerge branch 'master' of github.com:davem330/net-next (diff)
downloadlinux-3fc72370186be2f9d4d6ef06d99e1caa5d92c564.tar.xz
linux-3fc72370186be2f9d4d6ef06d99e1caa5d92c564.zip
bna: PCI Probe Conf Lock Fix
If register_netdev() fails now, then we call mutex_unlock(&bnad->conf_mutex); on the error path, but it's already unlocked. So we acquire the lock in error path which will be later unlocked after the cleanup. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Rasesh Mody <rmody@brocade.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/cris')
0 files changed, 0 insertions, 0 deletions