Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6463961rwb; Mon, 12 Dec 2022 02:09:39 -0800 (PST) X-Google-Smtp-Source: AA0mqf7J6AAGNOkf3YqrW3INUS08h0zK2c5RvWrdb/kagtwFJdLdNygSSKp8T6Khz+bjxy4nmwGW X-Received: by 2002:a17:90a:420e:b0:213:9000:907f with SMTP id o14-20020a17090a420e00b002139000907fmr15905408pjg.39.1670839779370; Mon, 12 Dec 2022 02:09:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670839779; cv=none; d=google.com; s=arc-20160816; b=Y+1dYWSy1POO4hvoIw1rMb2JOpboJ5B2e7R+Ag3ugnJSUlxWeu+pWq0n3gVe9E7d8K PstjqwYWfkKzBqqbGOU/rgULm6AP1iz6v40om9rybhxr/mO7VgqCL5ObhGC4rWtgHUOL aw6+0HEzoi+0Io9EwKxRk5zjVCk5zPvSxPTxmp7+VFn1RaVY3HyyF5IZwhsip6zgkVvB X0JTKZP7usD2xl5CnqkUJvpyDMB+BpeU/1nYQRk0waZer/5UTyssFwnV3hIATbqbyUJn V+qbNpea4wMwscNjZ/8ZUSmWLHeof8bLbqnAz/rCbcTmAxBbJmsphfHnU/5nssfiL7fL 7LZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=IJV3QB8hI/aLp+TFgqZ4kpVOl2pXiOhauof/t76W6Yk=; b=j0IXjo7GHwzewhMwgghX85XeuKwhRgLBk06zk3EQWtZrw+BxCi9GTcuMS5McunSgMz UW2rphaedwfhRPVfHeSWzgqPHkdX9i6ANkFxuVzVtew2DUhS/1MEWkRFEtBUGHEy7YOT +oqczmEjkA4L4116bbgLeqCq2dljeyRrPcW3hv3fJ/UAZrmrlIWL88P7HkxHLQJYhhQj RiN9xuCYeebJp7bbZ59Fc9LrgoQdSQRr483PGILz4Xkz9IgnMPyYkTJczMjxYOQnSibH DM5uHtk3z8sAZDNfZqTWMqIjkGS7kneJbsa/TfKxrltVKyi19Ut1Y81Z0M/hK4is++x0 coQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="K/GkJyFm"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k22-20020a6568d6000000b004701ea564desi9232734pgt.783.2022.12.12.02.09.29; Mon, 12 Dec 2022 02:09:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="K/GkJyFm"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231686AbiLLI7y (ORCPT + 75 others); Mon, 12 Dec 2022 03:59:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231553AbiLLI7w (ORCPT ); Mon, 12 Dec 2022 03:59:52 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10205A455; Mon, 12 Dec 2022 00:59:51 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 87CB460F36; Mon, 12 Dec 2022 08:59:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6D7D4C433F0; Mon, 12 Dec 2022 08:59:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1670835591; bh=B2EDXjAKiY1kPZZAXNEN6nKHcQJ8k4xlc9/ZdVF+VZ8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=K/GkJyFmhLL+oB0gt4vKn5gOxBsyWPYuqCCngn8o7hSMxpEQERvpKgNmkAoocZ6dl XeRFX1DPsnaUEbe5gIdsvkplhYb6S2hNbM6GS6lUYl0XkYILkwFH4HvoDxgPiHl6dc 1y4Q8tqIkdHLTNY+O4zC33Lsnu4fLUPPUC2mWEBA= Date: Mon, 12 Dec 2022 09:59:48 +0100 From: Greg Kroah-Hartman To: Javier Martinez Canillas Cc: John Stultz , linux-kernel@vger.kernel.org, Brian Masney , Bjorn Andersson , Douglas Anderson , Peter Robinson , Enric Balletbo i Serra , Steev Klimaszewski , Rob Herring , Daniel Vetter , linux-arm-msm@vger.kernel.org, Saravana Kannan , Alexei Starovoitov , Jakub Kicinski , Krzysztof Kozlowski , "Rafael J. Wysocki" Subject: Re: [PATCH v2 1/4] driver core: Make driver_deferred_probe_timeout a static variable Message-ID: References: <20221116115348.517599-1-javierm@redhat.com> <20221116115348.517599-2-javierm@redhat.com> <549800ec-6da2-64ad-62a6-c8e4a35dc212@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <549800ec-6da2-64ad-62a6-c8e4a35dc212@redhat.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 12, 2022 at 09:50:16AM +0100, Javier Martinez Canillas wrote: > Hello Greg, > > On 11/17/22 20:14, John Stultz wrote: > > On Wed, Nov 16, 2022 at 3:54 AM Javier Martinez Canillas > > wrote: > >> > >> It is not used outside of its compilation unit, so there's no need to > >> export this variable. > >> > >> Signed-off-by: Javier Martinez Canillas > >> --- > >> > >> (no changes since v1) > >> > >> drivers/base/dd.c | 6 ++---- > >> include/linux/device/driver.h | 1 - > >> 2 files changed, 2 insertions(+), 5 deletions(-) > >> > >> diff --git a/drivers/base/dd.c b/drivers/base/dd.c > >> index 3dda62503102..040b4060f903 100644 > >> --- a/drivers/base/dd.c > >> +++ b/drivers/base/dd.c > >> @@ -257,13 +257,11 @@ 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; > >> +static int driver_deferred_probe_timeout = 10; > >> #else > >> -int driver_deferred_probe_timeout; > >> +static int driver_deferred_probe_timeout; > >> #endif > >> > >> -EXPORT_SYMBOL_GPL(driver_deferred_probe_timeout); > >> - > > > > Yeah, I added the EXPORT for the regulator code to use it in > > dca0b44957e5 but that got backed out when setting > > driver_deferred_probe_timeout to 30s was reverted, and this bit was > > forgotten. > > > > Thanks for catching this! > > > > Acked-by: John Stultz > > > > Could you please pick this patch? Is a fix independent of the other > patches in the series and it has already been acked by John. It is the middle of the merge window and I can't take anything now until after 6.2-rc1 is out. I also really can't take individual patches out of a patch series easily, so please just resend it as a single patch when 6.2-rc1 is out. thanks, greg k-h