Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp2768422rda; Wed, 25 Oct 2023 11:41:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGtLE3GrChFAInv9qs4nLce+z8t1Cv7cvOuRFB0sgCJ0Qawes+8OehaVIRNanN348PBJ37B X-Received: by 2002:a25:2416:0:b0:da0:29df:ae62 with SMTP id k22-20020a252416000000b00da029dfae62mr7733035ybk.35.1698259314238; Wed, 25 Oct 2023 11:41:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698259314; cv=none; d=google.com; s=arc-20160816; b=mcDKvn2ASywiVK8jO7nd+c1aZ83TwFMoPWn6Fi7uDlNrMnTlSOD3EAflM26RVNo/Ur VM0dnk/a72lD2PYuLoCR1Olnwudb+zCinBf+3NxUCvdh5+UDHBeED56PthaVxkiENoYg HzztqY8tIG/vj2AwNYJjgwU2jOq24gFxxIfIjpc/GdVtkac+pS7dx8tGpCnB0Co1Je30 xJFFSSe9utisrPj1ry9Fk+TJB7jVye1Bc4qmPou+AWchszl/nZSgYn9xP3w3t30RMtBE CFc3bHUd4qSw5Dskf0M5mhvHB0v9WC36rz4heBlc1DO//Oc3nOSL/xMnXbrPFsGg3zrs y+4w== 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=8RdOeUMusAwpv92vBzFV2Ba3HSgQna+bK5qxBshAzM8=; fh=oWEIrKwjlOrKfRzdhT/wLDVo84u2fvXIs/BxyiRsH7E=; b=Y13Das6uVg3FU4jZwsDNTAEMjdWO84gap8QTQJUjDVjrqdgyow7J75VPMK6NMntPSv 39h/9RR8fYgfywZZO4+rUYHWQqINz8l5mpcSSZA6vM1MZRblZhVBJVQ0yA65bevbTgPU c20iYGNHavN2gx/9FKj4hJxGk8rhkPglogoDEmEr+UTiJTHNy9x3rwOKBmP0T1SMrLm/ 8fkLLnm73dMG1BgWhzPm5c9TUvJjW3bh7rWfFogw4u6xBcMswFysUQFMn5wUQLWDElHt jPoDv81D86taKnkytEvvFly6rBqL6ocycF8Bvi5rxQau66AMAcU7lL7ia2HjyJMNrLtd /eoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=A2kN1SE8; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id p134-20020a25d88c000000b00d9caa2a9dd7si12131526ybg.65.2023.10.25.11.41.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 11:41:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=A2kN1SE8; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id DE43580CB167; Wed, 25 Oct 2023 11:41:32 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229598AbjJYSl1 (ORCPT + 52 others); Wed, 25 Oct 2023 14:41:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229548AbjJYSl0 (ORCPT ); Wed, 25 Oct 2023 14:41:26 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3DF36111 for ; Wed, 25 Oct 2023 11:41:24 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D0BA1C433C7; Wed, 25 Oct 2023 18:41:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698259281; bh=4djJN0UchxV82gc5Kfbil3cSIlrr4hp620DysLpy6rQ=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=A2kN1SE89MjV87IVuJRo4RL+6HJxFoYhUmBM00IPEwCZbxA5FcaEolL5FKL46F53T 7035yJfsKpFUsKetBFu8OfQC6HqgfKwexdJGRMIirI2YKPw0XiXPuiHF1exGvwkD2f 7WNHzUGJmk5bOzoKgF7fpxQuVHMSH4na5j0Q/Dx2qZ4O4Dz2CYHdJpuq/5DSnLF1+D KFNYdyfieUh406HxeWOA/bxt3bu9+Q3QK8vjTsJns1LXWIfqgn3Xycx+6eW/X3VbGO NKTUMeJAM0wlsn8F5JQC5SDAh1nDqCMv1SW5CbtxhFycU2EQqXGC7N1fQZB7C2XB/M u/v0tbBlmrh/w== Message-ID: <0d48d284-3138-4ca7-b622-20400fab7579@kernel.org> Date: Wed, 25 Oct 2023 12:41:20 -0600 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next] netlink: make range pointers in policies const Content-Language: en-US To: Jakub Kicinski , davem@davemloft.net Cc: netdev@vger.kernel.org, edumazet@google.com, pabeni@redhat.com, j.vosburgh@gmail.com, andy@greyhouse.net, jhs@mojatatu.com, xiyou.wangcong@gmail.com, jiri@resnulli.us, vinicius.gomes@intel.com, johannes@sipsolutions.net, razor@blackwall.org, idosch@nvidia.com, linux-wireless@vger.kernel.org References: <20231025162204.132528-1-kuba@kernel.org> From: David Ahern In-Reply-To: <20231025162204.132528-1-kuba@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 25 Oct 2023 11:41:33 -0700 (PDT) On 10/25/23 10:22 AM, Jakub Kicinski wrote: > struct nla_policy is usually constant itself, but unless > we make the ranges inside constant we won't be able to > make range structs const. The ranges are not modified > by the core. > > Signed-off-by: Jakub Kicinski > --- > CC: j.vosburgh@gmail.com > CC: andy@greyhouse.net > CC: dsahern@kernel.org > CC: jhs@mojatatu.com > CC: xiyou.wangcong@gmail.com > CC: jiri@resnulli.us > CC: vinicius.gomes@intel.com > CC: johannes@sipsolutions.net > CC: razor@blackwall.org > CC: idosch@nvidia.com > CC: linux-wireless@vger.kernel.org > --- > drivers/net/bonding/bond_netlink.c | 2 +- > drivers/net/vxlan/vxlan_mdb.c | 2 +- > include/net/netlink.h | 4 ++-- > net/ipv6/ioam6_iptunnel.c | 2 +- > net/sched/sch_fq.c | 2 +- > net/sched/sch_fq_pie.c | 2 +- > net/sched/sch_qfq.c | 2 +- > net/sched/sch_taprio.c | 2 +- > net/wireless/nl80211.c | 2 +- > tools/net/ynl/ynl-gen-c.py | 2 +- > 10 files changed, 11 insertions(+), 11 deletions(-) > Reviewed-by: David Ahern