]> git.baikalelectronics.ru Git - kernel.git/commit
IB/ipath: Fix probe failure path
authorBen Hutchings <ben@decadent.org.uk>
Sat, 12 Jun 2010 02:25:09 +0000 (02:25 +0000)
committerRoland Dreier <rolandd@cisco.com>
Wed, 21 Jul 2010 17:48:39 +0000 (10:48 -0700)
commit774d7144263f335deab6ee4c5079f9549edea721
treeb438b8fe8cd90d132cb864bb741a391a8dd8cb42
parent2840b6ede98ec5b35047b4160018c90e3d833005
IB/ipath: Fix probe failure path

The failure path in ipath_init_one() does not match the cleanup code
in ipath_remove_one() and appears to leave interrupts enabled in some
cases.  Change it to match.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_driver.c