Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp2785744rda; Wed, 25 Oct 2023 12:12:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGCsG289YdmmmO113C7K+qxx4E0ZhAUgxR9Wi02cvoZsmpzEvVQEd5uEAf29y2iUyskL+UJ X-Received: by 2002:a81:8745:0:b0:591:8d06:e4e8 with SMTP id x66-20020a818745000000b005918d06e4e8mr18039630ywf.38.1698261148699; Wed, 25 Oct 2023 12:12:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698261148; cv=none; d=google.com; s=arc-20160816; b=zZeTCtow4ONsieGyyXG+DhTSDE4LZqEBLDBH14SHrzmg5JBim/f+ElI8mkzr8OmRaT R5/7Ekxw+JGqud7mxkgo1OyKejiFjWFXNVWz2sG72bSfmlJKlmcXzVEkV+K9pPMJmtn7 j8MeNt5zproGedU/kclswxt+TmpgUdQdPt66hvmRGk3W0qllodKYfHfaA3LYkQdFZXgN 58vnPz0x2snL0xGvY0RwR7+QPBNKFJWReH7BHwn2LVTYaKx5OQseXDdaeVM/0CrFmnQK KRjSU2JuHIE4xWu0Xz5qjKulTDuiYbKCqmgDWHQqN2V9GQ5Wn7IQ6Ok6Cn7pJvZ8MWNu RMqw== 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=BJE1oxlQfYqBKYgdY9os4N8F8vLdx7K54CDVTJraf3w=; fh=PZXY9i9cUxh/ULb/Pp+j4M3Ukf2RcFLA9xqneH6sc08=; b=wpRnHQFpay+XnK9NFig/TRRo6tyHKsLkUdPI39OXNtaFR69hfHpAVOFw6AgCoSRhzJ 0qqYltw1x3bTI4Hv+JcE6RQhIo5p1YBXWSmXV+9EYMZgaQ7I8CPsKebbsbRUYiSw0fAh agcTF9WNtxh8I78t86aESleNAtAxsuWA3z2/oZ3XZzLHYtSWcYIdYyzBBHq9JMcf7VO/ s9vYL2va3Dx/21iKucayDBCfOHtmM9PkCY9xoprt4WfQut+Y1fPxD4162fbGrW00mAlA 0sf/VdTubMjzvtFUfEAhpptoYcDSnixXcbxgQJEBhMHcCLI43wyy06097mKCLBwIDnm/ 5IZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@blackwall-org.20230601.gappssmtp.com header.s=20230601 header.b="eUc2/3FF"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id o9-20020a81de49000000b005861659568csi12622052ywl.180.2023.10.25.12.12.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 12:12:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@blackwall-org.20230601.gappssmtp.com header.s=20230601 header.b="eUc2/3FF"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 40871808BD17; Wed, 25 Oct 2023 12:12:26 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234733AbjJYTMW (ORCPT + 52 others); Wed, 25 Oct 2023 15:12:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229682AbjJYTMU (ORCPT ); Wed, 25 Oct 2023 15:12:20 -0400 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F092191 for ; Wed, 25 Oct 2023 12:12:17 -0700 (PDT) Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-31427ddd3fbso70210f8f.0 for ; Wed, 25 Oct 2023 12:12:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=blackwall-org.20230601.gappssmtp.com; s=20230601; t=1698261135; x=1698865935; darn=vger.kernel.org; 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=BJE1oxlQfYqBKYgdY9os4N8F8vLdx7K54CDVTJraf3w=; b=eUc2/3FF7yx0VmmvhHMsoEFoS6ulqUbTwRr270/lx+Xsq5jjQJlnaHoquaafSt0WOO CenzJGVXHX/sSX6D5u27SJeC2k6a9zS9IUup9ZpY0Lb29pOyqjNiXn2ZfV7GhNr99Zvt ZBk6timVsYHtuTmRdID4yWHJItubs/B1ViVlhM4h0lZL4SmUV5LnWR61Ujhw5/3jsf5j NZzCUY93bx3YOP6dX+nQOcbOhIyr3c2wq89KcvSLPc++ZRI1QfxeeVhxihH7v5yaE/U1 3CU0ITLH72xwA+JRAlrTRKnvSZAxOZvCETVOm44uoMN9/EcL4tshP/lsAL5x47fY0fQU xFPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698261135; x=1698865935; 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=BJE1oxlQfYqBKYgdY9os4N8F8vLdx7K54CDVTJraf3w=; b=uCPFFJ3F02Xa7BpG7TajxeDqxa0DaxjEhxnaTdTVVsCcSgWwawg6q/JbWIXgB9qDnW D/BAt07EvtuFHvWV12mvi1KT/q8d/OiktItx1eT+Y7aokPifniPriau8KnJxzUonIaW+ CDCNekKCPk2nraImV85ikW//7odbwqPL2/RJjxQV/KWDbMGDrTGOsK2yfTmpU9wfVEjP gms7Ae+S2WlC23iIGuFrctOcqyUum/iPu953yiJMnHghUEfF6XocgNOgnfqNEPfcn4gu 8JObUc+lPaVhlJAQPHN9umHDfZVPC7Fljfv0uEu57P5sxZeP5jUPkBLrfl1Oq/QQ/XpH +bHw== X-Gm-Message-State: AOJu0YwsUAjQw2dzXcnp6jLkCZpFs7WD710vxM5ozxKZ4yYdCPBJP09U c1Qt9zfR4s6ivqHsfG6M72W2Iw== X-Received: by 2002:a5d:4e06:0:b0:32d:a3a0:e927 with SMTP id p6-20020a5d4e06000000b0032da3a0e927mr10823356wrt.58.1698261135536; Wed, 25 Oct 2023 12:12:15 -0700 (PDT) Received: from [192.168.0.106] (haunt.prize.volia.net. [93.72.109.136]) by smtp.gmail.com with ESMTPSA id f6-20020a5d50c6000000b003258934a4bcsm12673992wrt.42.2023.10.25.12.12.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 25 Oct 2023 12:12:14 -0700 (PDT) Message-ID: <1d484f6a-669b-e222-391b-43e3b4904097@blackwall.org> Date: Wed, 25 Oct 2023 22:12:13 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 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, dsahern@kernel.org, jhs@mojatatu.com, xiyou.wangcong@gmail.com, jiri@resnulli.us, vinicius.gomes@intel.com, johannes@sipsolutions.net, idosch@nvidia.com, linux-wireless@vger.kernel.org References: <20231025162204.132528-1-kuba@kernel.org> From: Nikolay Aleksandrov In-Reply-To: <20231025162204.132528-1-kuba@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, 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 fry.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 (fry.vger.email [0.0.0.0]); Wed, 25 Oct 2023 12:12:26 -0700 (PDT) On 10/25/23 19:22, 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: Nikolay Aleksandrov