diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2011-12-27 13:49:37 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2012-01-04 16:14:44 -0800 |
commit | 8f257a142fc3868d69de3f996b95d7bdbc509560 (patch) | |
tree | 8c1c4e981aacafaa01b5379cbcf2abafce16fa1d /drivers/base/firmware_class.c | |
parent | b9d4e714a86a4e88c2f530c76597f7025e5851d6 (diff) |
Drivers:hv: Fix a bug in vmbus_driver_unregister()
The function vmbus_exists() was introduced recently to deal with cases where
the vmbus driver failed to initialize and yet other Hyper-V drivers attempted
to register with the vmbus bus driver. This patch introduced a bug where
vmbus_driver_unregister() would fail to unregister the driver. This patch
fixes the problem.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Fuzhou Chen <fuzhouch@microsoft.com>
Cc: Sasha Levin <levinsasha928@gmail.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/base/firmware_class.c')
0 files changed, 0 insertions, 0 deletions