Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2537870rwb; Thu, 17 Nov 2022 12:13:05 -0800 (PST) X-Google-Smtp-Source: AA0mqf7tdrwfZnS/1JJbLjO7K6A3EERHv/Yn773zwVRG0p9FvMieiHK0/pdmR1m1YqGs100Wei2k X-Received: by 2002:a63:4461:0:b0:43b:f4a3:2f8d with SMTP id t33-20020a634461000000b0043bf4a32f8dmr3596075pgk.317.1668715985579; Thu, 17 Nov 2022 12:13:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668715985; cv=none; d=google.com; s=arc-20160816; b=oYHLELgPHcKkHxvOpNPIOq2EN9X9GI94OcQcSh39p6ViZpyvcJl+SIZwSau3hOwr0o mx2bTWWs5THK6d4iOG+jYF5lLRPvHAUxL3RmN1qFSWOfHjk6kaBrU+LnNLi3odohCoEQ SmnuRqQPvW0eYN6+k5UzHxVGbYW/cGpqed/jnXpbWdqgFPuTHrXVWFV8cn01KJFugRIk CqvmZ88tpjgnAQqmhwR2timsHt1mIKNnDbbZPp9az+55iMJGprS3zyjTjfS0FlOIGONg +aqIhb8t/2gE99/RMD3+7bbavqAh0zexfi8BFaC/SmezcMFDQE5GSp29UxkJ4EfmA18g igWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=vItTHGOizc2pJUPYRIu39XVH/su6UB5B0GzgAXAm3GM=; b=uNYRwdkAffsc+QsYIOfBsMQ68Qg3VMCIzJ5RZNU4obO8rA32JihGnCFXV0pBGtisaj c+qV9xwg/9Mw5u+rPzk6HMIxCl9blDFqN06zEem3sCrvoUy8deLlxhmmb0P1tKwrNBeK mMPGEYGBnqowfl5EEOg+Fh/DidZHbjCu6gu1ogBxstkXxkMSGqydcjZkDdLhG6xkXxsp e9he6eQO2srvwEp4/pM95t8L5LpzlEewCWhQMJmVi7uUG3WkJwqbaIgo3Q1jWjhG4zZm /EkZSFwPSfW0ANPSIdDxqXc87ynnpKSonUwRV+RpWEyU75S7kAE1cjK0niW7FN3ie3z8 4S6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=nUPU8Yxn; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t189-20020a6381c6000000b0045f7fc4b812si1744648pgd.295.2022.11.17.12.12.49; Thu, 17 Nov 2022 12:13:05 -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=@google.com header.s=20210112 header.b=nUPU8Yxn; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240745AbiKQTPW (ORCPT + 92 others); Thu, 17 Nov 2022 14:15:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240696AbiKQTPQ (ORCPT ); Thu, 17 Nov 2022 14:15:16 -0500 Received: from mail-vs1-xe2b.google.com (mail-vs1-xe2b.google.com [IPv6:2607:f8b0:4864:20::e2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C73D87552 for ; Thu, 17 Nov 2022 11:15:12 -0800 (PST) Received: by mail-vs1-xe2b.google.com with SMTP id 128so2529380vsz.12 for ; Thu, 17 Nov 2022 11:15:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=vItTHGOizc2pJUPYRIu39XVH/su6UB5B0GzgAXAm3GM=; b=nUPU8YxnoKzHw+jQpnXUFKj9Ko72LFxFRqsB79j5GYlmJiwz3Kx6Dz348WuS4jb2SC 0jJCqqpsFh0PfZ6PUxj3b9Aovba8wv1BbWKBk2+MNOcXzvYJffb5ZOkeeMtYW6cptR5R eS1Q/RWtjpHhOBxY8l9ahW68rRoJFytStPV6GpQSYV11St7eaUa9TLakKJtcKoL3kT4g t9OobWNqtP4CjtZ551Lx1g+/weunFG/W+8m8OI6QjNMQehLz9vOHkJJUBphP2eEHUvmO 7ZxI76GRqovP0iR6d08VHLwtN/HMJy69zc2B3T2n732uA14aYOFzlXMR6s6Y3mMFnq9w UUpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=vItTHGOizc2pJUPYRIu39XVH/su6UB5B0GzgAXAm3GM=; b=v0gnVopzttbg/GgE2oz3UuN/YxWr9Zd5oUvKIStU/OoCiayGCCuZvHhV+pg6PrOx/A sIuGOHqNRsDTrdB01lBpJ+VxnhEW2j07/ptCKz9x/k5TBqcERZgAcx98PpHVy7hkV8eY qvb/6fD2n+3ElmiTruu2ob7JoIBcgAG/Xx3TuXzFUX1NmcehYQoVIv/1sUsiRs6z6H1d ehHiWKHwnf6NdWtIm/+kJCrBqnRkXHZLp25s6fVbW22GRgPktjItXca6S1VimGL5xOEK ZWLwPDgWe3eqGd+x3kQ1he91YmiPymhywBuzjed0Fn6yMkAGly8Dq6uHYqmDc2lN6dnf NJYA== X-Gm-Message-State: ANoB5pmiXQWy6IzYlB/LltkpuaKvelqG98Mm+aJc2l8VTwFVMH4K0NFK 11w0ah5kCXxFIFUJnbEHd63L2E40dCAw1eDxrif0 X-Received: by 2002:a67:ed94:0:b0:3aa:8846:b9a with SMTP id d20-20020a67ed94000000b003aa88460b9amr2528933vsp.58.1668712511218; Thu, 17 Nov 2022 11:15:11 -0800 (PST) MIME-Version: 1.0 References: <20221116115348.517599-1-javierm@redhat.com> <20221116115348.517599-2-javierm@redhat.com> In-Reply-To: <20221116115348.517599-2-javierm@redhat.com> From: John Stultz Date: Thu, 17 Nov 2022 11:14:59 -0800 Message-ID: Subject: Re: [PATCH v2 1/4] driver core: Make driver_deferred_probe_timeout a static variable To: Javier Martinez Canillas Cc: 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 , Greg Kroah-Hartman , Alexei Starovoitov , Jakub Kicinski , Krzysztof Kozlowski , "Rafael J. Wysocki" Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=unavailable 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 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