Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp399406rwl; Wed, 9 Aug 2023 16:48:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGpPDDEZRB53CLKGMnfGw1MxRPwRt4LuJhfN7EmaBs/6wI4czMaB1x3IdF8lxA/Fyd9AJ+A X-Received: by 2002:a2e:9f41:0:b0:2b9:d71c:b491 with SMTP id v1-20020a2e9f41000000b002b9d71cb491mr440525ljk.16.1691624938413; Wed, 09 Aug 2023 16:48:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691624938; cv=none; d=google.com; s=arc-20160816; b=CzI4md8TcWpbRmNsXelT71PsFal7nvkSqAGtzMdZQ2t10bACNrd2f5wMWBsalh3RQM vPsEnKnBMA/TiR7uRWFGAZ2vFivXLsyK2SDskX8BctveARWQOTQETpG4Ze5vzIbkyPwj 7Xj03SjTm58n8uL8amFsYHw/XQEKyhHGszGkAkDK/844zwiLPV+UZBy7akOPWACJr+Yr L0OY62fYeRhN95sqQoIXCyowddmCXcbf1+SSAebZ1sPSzH0yVmNxc0wu+o6RbNeVXzdY JMwdhrkibDE4PG60iCXUz6XMWIOOnDny5hcpXx52s8QACf1Wwiryi7C0uqPy9j9lCPrn 5GbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=tWfxbYmZzfgsTMQPxdjoeYrtO6ub5PrTdBzqJ1zYtZs=; fh=j3VO+I5u8/3KXAR1b65gmxa6gl+EZylLbKB9ruFUPgY=; b=MeW0F466gOFuX50IgglcUmhJASYijTNTuLubVuYiRCwthO1Ao6qTkfi+DJFpowQv91 /Sf92H5okHy4ToZLQ1kyPSJtYi6wESCmL0z41Z9C0CwU6XEUAD+07B8nB4hCapED/HZo uztGiLQI+uZAQwKiskDq18f4MZii7WcfhgdIiUnvwvOUYZfGNHM+GP8f8FEiAhVj5Tt5 eaU9yirhRSxgRHEL2+Ruxcu5W2AX7ykK8+a5NLhC4oL7zvMV2/UB1L04Gd95sSAMtd1d 5wbp6a0hlh2OacqSRb2811xme3f5rJnitO9twozwwWVn0JtvlLLkjLmHI9LPksjzLQos TqnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=W9rlgpJD; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x24-20020a170906149800b0098859d239dfsi280901ejc.796.2023.08.09.16.48.33; Wed, 09 Aug 2023 16:48:58 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b=W9rlgpJD; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232561AbjHIXA1 (ORCPT + 99 others); Wed, 9 Aug 2023 19:00:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231177AbjHIXAZ (ORCPT ); Wed, 9 Aug 2023 19:00:25 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44C10E76 for ; Wed, 9 Aug 2023 16:00:25 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D959262872 for ; Wed, 9 Aug 2023 23:00:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 438B3C43395; Wed, 9 Aug 2023 23:00:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691622024; bh=SC28URfATJ/48zq55kLBaKJ4jexX3dzrTDKzwwnOLDc=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=W9rlgpJDHEMDOmZlpYkXRFJmV7mD4fSfy0yuGEem6gd3BThUduO4h+QFOdNB6ec4c EohIwyW6oQ7Ox0Kk8Rge6Hdm1VH60dy1hmV51xivlK36zquJmbjyqxX8ngTV5SNFWr efVZsgZG3S50EBhKkX9FiuZVt1QY8ZIlRINgbmIvjUJ4f+NveJlEJcbJZWV1uzjw2Z GY206shRvfwsAHs4dPG9Ir31jWTCx7YTx+NHcSp6GbmH9a2mTo9Pbt52a/NlaHDq8Y NTIXvT/YjLq3Pk2vTloVaCTBuyQeFaiBfLNzEy1of0LfMdmve1zxqNphhFH/IRINNJ WdJ8kcNHD9gCw== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 24041E33093; Wed, 9 Aug 2023 23:00:24 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] net/llc/llc_conn.c: fix 4 instances of -Wmissing-variable-declarations From: patchwork-bot+netdevbpf@kernel.org Message-Id: <169162202414.2325.16732635656228825555.git-patchwork-notify@kernel.org> Date: Wed, 09 Aug 2023 23:00:24 +0000 References: <20230808-llc_static-v1-1-c140c4c297e4@google.com> In-Reply-To: <20230808-llc_static-v1-1-c140c4c297e4@google.com> To: Nick Desaulniers Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, nathan@kernel.org, trix@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, lkp@intel.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 Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Tue, 08 Aug 2023 09:43:09 -0700 you wrote: > I'm looking to enable -Wmissing-variable-declarations behind W=1. 0day > bot spotted the following instances: > > net/llc/llc_conn.c:44:5: warning: no previous extern declaration for > non-static variable 'sysctl_llc2_ack_timeout' > [-Wmissing-variable-declarations] > 44 | int sysctl_llc2_ack_timeout = LLC2_ACK_TIME * HZ; > | ^ > net/llc/llc_conn.c:44:1: note: declare 'static' if the variable is not > intended to be used outside of this translation unit > 44 | int sysctl_llc2_ack_timeout = LLC2_ACK_TIME * HZ; > | ^ > net/llc/llc_conn.c:45:5: warning: no previous extern declaration for > non-static variable 'sysctl_llc2_p_timeout' > [-Wmissing-variable-declarations] > 45 | int sysctl_llc2_p_timeout = LLC2_P_TIME * HZ; > | ^ > net/llc/llc_conn.c:45:1: note: declare 'static' if the variable is not > intended to be used outside of this translation unit > 45 | int sysctl_llc2_p_timeout = LLC2_P_TIME * HZ; > | ^ > net/llc/llc_conn.c:46:5: warning: no previous extern declaration for > non-static variable 'sysctl_llc2_rej_timeout' > [-Wmissing-variable-declarations] > 46 | int sysctl_llc2_rej_timeout = LLC2_REJ_TIME * HZ; > | ^ > net/llc/llc_conn.c:46:1: note: declare 'static' if the variable is not > intended to be used outside of this translation unit > 46 | int sysctl_llc2_rej_timeout = LLC2_REJ_TIME * HZ; > | ^ > net/llc/llc_conn.c:47:5: warning: no previous extern declaration for > non-static variable 'sysctl_llc2_busy_timeout' > [-Wmissing-variable-declarations] > 47 | int sysctl_llc2_busy_timeout = LLC2_BUSY_TIME * HZ; > | ^ > net/llc/llc_conn.c:47:1: note: declare 'static' if the variable is not > intended to be used outside of this translation unit > 47 | int sysctl_llc2_busy_timeout = LLC2_BUSY_TIME * HZ; > | ^ > > [...] Here is the summary with links: - net/llc/llc_conn.c: fix 4 instances of -Wmissing-variable-declarations https://git.kernel.org/netdev/net-next/c/fa1891aeb762 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html