[PATCH] Fix manual binding infinite loop
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 18 Aug 2005 00:33:11 +0000 (17:33 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Sep 2005 23:03:09 +0000 (16:03 -0700)
commitd65da6eae10cc77f93ead0188cde0b45f124d912
tree2494fac5df0711f16cd4d49cc25133ea9d99b5e7
parent67d2c36e901403bb97cb79ddb44d702c3284d0ba
[PATCH] Fix manual binding infinite loop

Fix for manual binding of drivers to devices.  Problem is if you pass in
a valid device id, but the driver refuses to bind.  Infinite loop as
write() tries to resubmit the data it just sent.

Thanks to Michal Ostrowski <mostrows@watson.ibm.com> for pointing the
problem out.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/bus.c