]> git.baikalelectronics.ru Git - kernel.git/commit
driver core: Set default deferred_probe_timeout back to 0.
authorSaravana Kannan <saravanak@google.com>
Fri, 3 Jun 2022 11:31:38 +0000 (13:31 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 3 Jun 2022 18:58:54 +0000 (11:58 -0700)
commitd991e2e1aed751b15aceac937ab1d88e6094f25e
tree72b1ba40c982cea924794e50fdb2b8585afb73d8
parent575ed234f4c52c78fa49ed78f43d5a977ab035e3
driver core: Set default deferred_probe_timeout back to 0.

Since we had to effectively reverted
commit a0d279236f01 ("driver core: Ensure wait_for_device_probe() waits
until the deferred_probe_timeout fires") in an earlier patch, a non-zero
deferred_probe_timeout will break NFS rootfs mounting [1] again. So, set
the default back to zero until we can fix that.

[1] - https://lore.kernel.org/lkml/TYAPR01MB45443DF63B9EF29054F7C41FD8C60@TYAPR01MB4544.jpnprd01.prod.outlook.com/

Fixes: cd265171ee85 ("driver core: Extend deferred probe timeout on driver registration")
Cc: Mark Brown <broonie@kernel.org>
Cc: Rob Herring <robh@kernel.org>
Reported-by: Nathan Chancellor <nathan@kernel.org>
Reported-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Saravana Kannan <saravanak@google.com>
Link: https://lore.kernel.org/r/20220526034609.480766-3-saravanak@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/base/dd.c