From: Saravana Kannan Date: Fri, 3 Jun 2022 11:31:38 +0000 (+0200) Subject: driver core: Set default deferred_probe_timeout back to 0. X-Git-Tag: baikal/aarch64/sdk6.1~3817 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=b9f043f49710a1c232a01734bb40c118227d1e41;p=kernel.git driver core: Set default deferred_probe_timeout back to 0. Since we had to effectively reverted commit 5ffda8808c31 ("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: 96eeae5d18a4 ("driver core: Extend deferred probe timeout on driver registration") Cc: Mark Brown Cc: Rob Herring Reported-by: Nathan Chancellor Reported-by: Sebastian Andrzej Siewior Tested-by: Geert Uytterhoeven Signed-off-by: Saravana Kannan Link: https://lore.kernel.org/r/20220526034609.480766-3-saravanak@google.com Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds --- diff --git a/drivers/base/dd.c b/drivers/base/dd.c index f963d9010d7fd..11b0fb6414d37 100644 --- a/drivers/base/dd.c +++ b/drivers/base/dd.c @@ -256,12 +256,7 @@ static int deferred_devs_show(struct seq_file *s, void *data) } DEFINE_SHOW_ATTRIBUTE(deferred_devs); -#ifdef CONFIG_MODULES -int driver_deferred_probe_timeout = 10; -#else int driver_deferred_probe_timeout; -#endif - EXPORT_SYMBOL_GPL(driver_deferred_probe_timeout); static int __init deferred_probe_timeout_setup(char *str)