Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp620361rdg; Thu, 12 Oct 2023 16:14:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHQZXRWVImwCZhB/4AqTPXFlSe6yKTxNGOF86csugQRa8oA2WaUFOqiv7Xla6QJsfkGQevc X-Received: by 2002:a05:6358:8812:b0:139:cb15:ecd3 with SMTP id hv18-20020a056358881200b00139cb15ecd3mr26790409rwb.8.1697152449873; Thu, 12 Oct 2023 16:14:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697152449; cv=none; d=google.com; s=arc-20160816; b=udC+XaPramutei6xK3uCejv1DJRZX+BuBqaXHCObRcACvhlaMDtFLatIGywjTXUiq6 66gtpbl4Eu+FTcrHtrVVpskV5bILV7POAeyiG6XOOhQF48YK35Z3OW4cpNoo3BNNZ8/g wK2BalDDBSp9TwoB6HKqayQpACgskaBjkBuRe4R3OzdmET4d0jNkOmJL4qsjHoZWkqXq O0bNwjgTqoGM13033hHwSr1Wsi3hiw4skAAxQtt1Vp5dKAJIVtJQ6EU7humSKV/yoyew WDz8lvY66co6uXLN5mu03HCq16tHP3/zWs8RJFJjl4IQrZs9/VePT3COLrNB245R3NE2 JjZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=48dvFZRTefM8O03FzXiZwqBq4Rp1+Jq3fws313orleY=; fh=Tsb3DEogutKk2hRXsBpBeAMzeQvTuUYMIQ2EK244iLQ=; b=NmkjeLLIKB0N32RMwURhUAtSd/rTaWi5qQLFnqEmdpPQktJW+g16KvARscBzVh5u4A xkOcN6gwj7lmx+WXEgacnSlbBRT2tx7/TH0N9TFzuQDSuoE8atQQoC1ydVT561ebOvdZ kzcVytSSdel/K2S6xwIKjNfGC5bpM44s0p74iuCTlApK/WIeaB8iKttZgCgG4iTQ5PRp mCBl4St6hoeAIrPtYWVD6RP5aj7QQnnh3+J7EmfSe70ydke9wwu9Jga++3MnLdCNgQMQ BnP4ZHrPu/xCaePcAVON5s3evaa4vDQQhxOk3v6gVLXvnGh2gPwhgqj/W+g0BiMibGAF h+qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=BRVEpW1I; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id o20-20020a056a0015d400b0069eacad28acsi3253564pfu.178.2023.10.12.16.14.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 16:14:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=BRVEpW1I; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id E0D7081ABAF5; Thu, 12 Oct 2023 16:14:06 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443024AbjJLXNv (ORCPT + 99 others); Thu, 12 Oct 2023 19:13:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60726 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1443006AbjJLXNv (ORCPT ); Thu, 12 Oct 2023 19:13:51 -0400 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0713BE; Thu, 12 Oct 2023 16:13:49 -0700 (PDT) Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-4065dea9a33so15915675e9.3; Thu, 12 Oct 2023 16:13:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697152428; x=1697757228; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=48dvFZRTefM8O03FzXiZwqBq4Rp1+Jq3fws313orleY=; b=BRVEpW1IpP/e2XpHZNezKQUBEp5UoIYqAWy15iKGAOSnuJjekS2rvHsyghNcbmTDn0 q7S29GW3SCvoxrWfCF6RiEfJkgi3IHoOLaFZ6X2eIRijjQLZkREgGPh8r6EhkUjl4NXk 9GkEfn1a4AMLKqX0Re5hoLXlOqgxgXisczfbBxxhlSK5rAwZZm8Z4d9PLharpR4r3V/4 3oDffREU257+QQSZMjB18Q/VUXc2tj5o5VYYShTZrBhu90ySZnLpv+vIur+G7EPtETtw IaVbPeYNyvSTFYcQeokb3XjTHXoqr1cOLhaA+Kjy0xQYI2F0NSuUzVNwBjOoISYt5CRY Gd2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697152428; x=1697757228; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=48dvFZRTefM8O03FzXiZwqBq4Rp1+Jq3fws313orleY=; b=VgANYPGxLIXc0h3ch6Ycd/uKoFeAD5K2Z5aTboXqMUTSUy9SpyOE4PSeya24d25DE9 W+IpuuKxgV77ZiyoPMVo1+5Q+sUeGOOz1H/QZoz4xaNZzehP0NJJkUVpJF6hBhMMSz0L DOP05wNSCSp0MtUd7tuQIZHpI1aQXmrt91QTNsnredbegOihQu7F0/auPR8yQYNCSh+7 B3OOebHhxTZefhZWCf+jwQeN9xEV1QlLthNvMWBPa75i8HFFobKeqlwrUzsjMjdByvuo K00JI3kGhN2m/iAbofaWWSJWLjSV2Tu6AY0kg6ZZZUpTvxRWcJNfV7YnRcap4xcUbcJW QzJg== X-Gm-Message-State: AOJu0YxjLi2j/GLQCqfSQ3hahfuSJcAqKyDSYOO8OiXEYNI7Yet7pBt+ lQIs8qpWTHweXxywmtpcaPU= X-Received: by 2002:a1c:f709:0:b0:405:3b1f:9691 with SMTP id v9-20020a1cf709000000b004053b1f9691mr23327485wmh.11.1697152427949; Thu, 12 Oct 2023 16:13:47 -0700 (PDT) Received: from skbuf ([188.26.57.160]) by smtp.gmail.com with ESMTPSA id y4-20020a1c4b04000000b004075d5664basm979269wma.8.2023.10.12.16.13.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 16:13:47 -0700 (PDT) Date: Fri, 13 Oct 2023 02:13:45 +0300 From: Vladimir Oltean To: Stephen Hemminger Cc: Florian Fainelli , netdev@vger.kernel.org, Andrew Lunn , Florian Fainelli , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Broadcom internal kernel review list , "open list:ARM/Mediatek SoC support" , "moderated list:ARM/Mediatek SoC support" Subject: Re: [PATCH net-next v2 2/2] net: dsa: Rename IFLA_DSA_MASTER to IFLA_DSA_CONDUIT Message-ID: <20231012231345.3thxxxhe7pxs5bib@skbuf> References: <20231011222026.4181654-1-florian.fainelli@broadcom.com> <20231011222026.4181654-3-florian.fainelli@broadcom.com> <20231011163003.32036b28@hermes.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231011163003.32036b28@hermes.local> X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,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 agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 12 Oct 2023 16:14:07 -0700 (PDT) On Wed, Oct 11, 2023 at 04:30:03PM -0700, Stephen Hemminger wrote: > I don't know if it would be acceptable in the kernel UAPI but what > we did in DPDK for similar situation to cause warning on use of deprecated value. > > /** > * Macro to mark macros and defines scheduled for removal > */ > #if defined(RTE_CC_GCC) || defined(RTE_CC_CLANG) > #define RTE_PRAGMA(x) _Pragma(#x) > #define RTE_PRAGMA_WARNING(w) RTE_PRAGMA(GCC warning #w) > #define RTE_DEPRECATED(x) RTE_PRAGMA_WARNING(#x is deprecated) > #else > #define RTE_DEPRECATED(x) > #endif > > ... > #define RTE_DEV_WHITELISTED \ > RTE_DEPRECATED(RTE_DEV_WHITELISTED) RTE_DEV_ALLOWED > #define RTE_DEV_BLACKLISTED \ > RTE_DEPRECATED(RTE_DEV_BLACKLISTED) RTE_DEV_BLOCKED What precedent exists in terms of intentionally breaking kernel headers? If none, would this create one?