]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Fix manual binding infinite loop
authorGreg KH <gregkh@suse.de>
Thu, 18 Aug 2005 00:33:11 +0000 (17:33 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 18 Aug 2005 05:02:25 +0000 (22:02 -0700)
commitd3a980a9b25ac03348ccd3acc6b28216cdbbc350
tree0b31e27c6007adac51c8e6e3a832badc1d8e2a1a
parentab4622e97b2a535c7ffc3a36cdfb0c8830566c2c
[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>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/base/bus.c