Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2960144rwd; Fri, 2 Jun 2023 18:17:31 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7q9PIAgAZESGRl7CjQqOLLoz/kMfstXzNRWxEG8f/IKpYe8YolDY0EYB6yO5S5hLz3HHo6 X-Received: by 2002:a05:6a21:8dc7:b0:10c:5324:dba with SMTP id ti7-20020a056a218dc700b0010c53240dbamr279462pzb.28.1685755050766; Fri, 02 Jun 2023 18:17:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685755050; cv=none; d=google.com; s=arc-20160816; b=rjSt1MZF59rXty0Dxj7NN41pAb67q39veg/ExD2yFvgma4MFV1PRvLEzK7Cud/X32X 32ychHqU7SsfcW1stRUim8ukxu/uGtgvMKtIUzqGWi8mYLoEjDwsgQsinWE/tTc/vatU kNGiWfNObM+PE462O1aS+Plf3C1aA8l6AXh5yaIrB1pE3ROqHkOrFh4G44DqTia+kouu yJ8ZVkFrHlQV438b0pitSgEfG1oYi4j0xMb6jv/BLAKloBEEmU8qjAdR9Bf7aBC40Mdo JYEIcKB8Lx8ZGF/vjEhgTX402wljtTB6zBiCJLYX7dh+5RV4kzJD4d5p1IxftiV0/U1F zy0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Rk7MwmJT/RKA/8bT+bq8NZnYWiepDXUZ2WOSbM/67Kc=; b=Soac4llZr3D8sRA36bQKnJNeeFzns58PnvShX74uudJOwzgkdnfYte6S7ooTksPUKI 0PIL67j6PcwRkHkBP3MbLzv8Zy3qldGV49w8avhZmrMXHDHEQfUBf4zns7XddwkQA08S Ll1qi5UGqoSrmtZwFoobWMjAh17z+ACAx792QNgIfdDe/rimIM2cLpNAMt/If19MEXif rlDu0lxD7LUgzCcZIi02Dfl5407pIc3xwfvFJXEaJrAi12Zjwx3O5JRdkQq5BCun6keP wmfmGryiXisxq7EvoncDacZ07O7kmv2OzQbkYNkT2bqGBt0DwpedwfAryvRAPT9GhIjc K2tg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mojatatu-com.20221208.gappssmtp.com header.s=20221208 header.b=ADa1mYnL; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i5-20020a63e445000000b0050c0305bcc3si1725235pgk.872.2023.06.02.18.17.16; Fri, 02 Jun 2023 18:17:30 -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=@mojatatu-com.20221208.gappssmtp.com header.s=20221208 header.b=ADa1mYnL; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236887AbjFCBHZ (ORCPT + 99 others); Fri, 2 Jun 2023 21:07:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236200AbjFCBHY (ORCPT ); Fri, 2 Jun 2023 21:07:24 -0400 Received: from mail-oa1-x2a.google.com (mail-oa1-x2a.google.com [IPv6:2001:4860:4864:20::2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A583E43 for ; Fri, 2 Jun 2023 18:07:23 -0700 (PDT) Received: by mail-oa1-x2a.google.com with SMTP id 586e51a60fabf-19f268b1d83so2369344fac.1 for ; Fri, 02 Jun 2023 18:07:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mojatatu-com.20221208.gappssmtp.com; s=20221208; t=1685754443; x=1688346443; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Rk7MwmJT/RKA/8bT+bq8NZnYWiepDXUZ2WOSbM/67Kc=; b=ADa1mYnLZvLryRogdbm5xyDYJs2pS+VRy56cK1FxOIKK+fBdvPkKqg8vexxL+PScO9 QgYXX86s8PyQoOt0tPg2a9JvNESv/Gm0NnrbngpRSpWS3Ggn/Se4k6+WYvOGtppz9q8T CBw0Y1m2Kf/2NbCtO93ERx0/U2t9k20iN7LjT/fcQhiFRotb0wWznGHqPlPiy2yyiBsd CpgNepcR5OGfydVYh+pketrWFwCO3Xp4AHArCad7FyhNoRu2QW2h4mw3YSpAKZe79a2b 8vuwiMYH7pkAqUzywPz8qFY+H8ArljV91J9MuL09DCpP6GxsIuKpYsVH172Dc39rY2T8 iLlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685754443; x=1688346443; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Rk7MwmJT/RKA/8bT+bq8NZnYWiepDXUZ2WOSbM/67Kc=; b=QFdxM2ytpqMWM8ynnNhSds0Y3MCQ/9mE89hvAPU0c22ozlGi3uh+SdWyDrOGvXqmka YvLDhK1aOueW2FInkOrg/A7r/qvHJclVDzUXHWENlVZXjeuoHUxWSQxdoXNOSgTMe+7B Z0MoWicLkkIawMrxYZSxnryGCN21N5wUpbkCawlL1iZXM3MJNysXn5EVgSxehYsbFLOm xtOaZh+xE3UcGQIv3stt9s767nZI8EYhznpq66DBb78tuyV+g4LrAFnS0IA0Wbdc6odI 0NmBQRlxxM8n/EB+Ah2Z4xAXo/BSM05N4POEQLXTf9NJtmxs8bF5szVJNnr4BJ80z9CJ kdtw== X-Gm-Message-State: AC+VfDxw+WOWzrQozZswElmB66zPaJEFVjNOKa5E5IVBxIFydJtYo7Je El7S2UEYfSeDY6UGiubdtPRNkQ== X-Received: by 2002:a05:6808:298:b0:398:41b4:5b2 with SMTP id z24-20020a056808029800b0039841b405b2mr1316618oic.23.1685754442897; Fri, 02 Jun 2023 18:07:22 -0700 (PDT) Received: from ?IPV6:2804:14d:5c5e:44fb:643c:5e1a:4c7c:c5cd? ([2804:14d:5c5e:44fb:643c:5e1a:4c7c:c5cd]) by smtp.gmail.com with ESMTPSA id s4-20020acadb04000000b003982a8a1e3fsm1151483oig.51.2023.06.02.18.07.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 02 Jun 2023 18:07:22 -0700 (PDT) Message-ID: <28802979-d237-1c9c-ad05-10aaa8f46b48@mojatatu.com> Date: Fri, 2 Jun 2023 22:07:17 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH] net: sched: wrap tc_skip_wrapper with CONFIG_RETPOLINE Content-Language: en-US To: Min-Hua Chen , Jamal Hadi Salim , Cong Wang , Jiri Pirko , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230602235210.91262-1-minhuadotchen@gmail.com> From: Pedro Tammela In-Reply-To: <20230602235210.91262-1-minhuadotchen@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_SBL_CSS, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * 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 02/06/2023 20:52, Min-Hua Chen wrote: > This patch fixes the following sparse warning: > > net/sched/sch_api.c:2305:1: sparse: warning: symbol 'tc_skip_wrapper' was not declared. Should it be static? > > No functional change intended. > > Signed-off-by: Min-Hua Chen LGTM, Acked-by: Pedro Tammela > --- > net/sched/sch_api.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/net/sched/sch_api.c b/net/sched/sch_api.c > index 014209b1dd58..9ea51812b9cf 100644 > --- a/net/sched/sch_api.c > +++ b/net/sched/sch_api.c > @@ -2302,7 +2302,9 @@ static struct pernet_operations psched_net_ops = { > .exit = psched_net_exit, > }; > > +#if IS_ENABLED(CONFIG_RETPOLINE) > DEFINE_STATIC_KEY_FALSE(tc_skip_wrapper); > +#endif > > static int __init pktsched_init(void) > {