Received: by 2002:ac8:678b:0:b0:405:464a:c27a with SMTP id b11csp7328qtp; Tue, 1 Aug 2023 11:59:15 -0700 (PDT) X-Google-Smtp-Source: APBJJlE7Gmld9MFu/BZvHjaATH60myU8wWacgb33C8vPa/YNHkOsnJqS4esnogAnqpbcLSgLTMbX X-Received: by 2002:a05:6a20:187:b0:137:db14:e88b with SMTP id 7-20020a056a20018700b00137db14e88bmr11618620pzy.29.1690916355121; Tue, 01 Aug 2023 11:59:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690916355; cv=none; d=google.com; s=arc-20160816; b=gU+9auK2jj/K4buQyGDgzp9P519/TPj28ZupD16o2ePu6btjaDW/PY7sElb6SdDM8f U4oNN3dcwl98XCCUowUB+p5blfvzLTz3WTEWqffaPi1XICrUBfeWzTORjEzzFK24c1aJ CbGxkzDOnegl8+Av1n+OZC5svsaYPCCiGk4RC2gOOJEUBtwAAMVZAaRIpKP2Y8R0ftG5 XO46zcwnfoKSDEg9BCOQ6e5w723A0bZ0/j4Hibeanjxjjdj4HNPKRjJoGqVLju+LxvvA YyAlPZp/dJbAxM4rlZPAKX4bfxJeFF9sBynVJerImOKBCZxJY7hw119F29epIwOL+JGv IpjA== 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=zEQoCBAZE+MrFQ0nMFtOlsgCpzDjMhKc4sVhqgkx9HM=; fh=ONJO9caazqK666sv3JWbIEaQsoTLM2btSjHUFmQcF88=; b=DrmP3g4fZfdLoz0zQXDzywfspvFMIweEvsbBwRuwPz5F/RooUnor0+Xivz48FhF4Dp r95jGKjsjtvtnW70nH9WfaykIx050qIB/T37NL27khrdKOMOF1Hc2KTsNNpaWbIMYyXN VqjSSdc77tlSrDbPZfoIwZHZL18rXlTqYWXGSTlHJAt1huNXoZcZeqGIuFO94p3/jLYM fF9FgICgwJdYbyKkUbjFQ7OonQ10sVUnnkKe/Gp1SG78uZHhaD/yXcqWDROGIdVUm9cW cL7bCTBXk7akUuDDMaWeQFwWjueNcDTRST5yLq2/pUXVs0XezKRNV7So7xhqtntXA40t PaoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@resnulli-us.20221208.gappssmtp.com header.s=20221208 header.b=SAGRQppn; 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 l16-20020a635b50000000b0056339e5afaesi9305801pgm.331.2023.08.01.11.59.01; Tue, 01 Aug 2023 11:59:15 -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=@resnulli-us.20221208.gappssmtp.com header.s=20221208 header.b=SAGRQppn; 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 S231504AbjHAR1I (ORCPT + 99 others); Tue, 1 Aug 2023 13:27:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230297AbjHAR1H (ORCPT ); Tue, 1 Aug 2023 13:27:07 -0400 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 707F8CC for ; Tue, 1 Aug 2023 10:27:04 -0700 (PDT) Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-99bcf2de59cso923051066b.0 for ; Tue, 01 Aug 2023 10:27:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20221208.gappssmtp.com; s=20221208; t=1690910823; x=1691515623; 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=zEQoCBAZE+MrFQ0nMFtOlsgCpzDjMhKc4sVhqgkx9HM=; b=SAGRQppniqtpk3rcPElEYgz1NyJdUcNTggSyjoc0wjKjaftLOjT3ugkqywXIIETU74 6BtJ7wrTbFM18bf+Ih3ZqtGJXzUTh+NCWcKLkqb7riKqO9wJFFp4rtHIFscwrh21nVPk VI//uuh4Roe2Q7ZNsz3pDzaVhsnZsOaumgPXhIoKTWXWwzxN1VMm1JLRmxGb8SC1rdHY lTNVhRQMXVdGbZJJnuliITa6FvOWoY/DjLZqI2CWp8OM0ckByB16AVQ87sjeGlV2h9de ph+v5rind7isXpqv63AY/5C9xrxFm3drQ6VIZ2ZA1W2+FOb/MJwrEca1YX/EnMBGlCS7 fVvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690910823; x=1691515623; 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=zEQoCBAZE+MrFQ0nMFtOlsgCpzDjMhKc4sVhqgkx9HM=; b=liSK+q5Q6qcWiRzujwHsKMWQTJTLTCZBZ9/XkST9IXsVUAG846SsHJCLFTCGi9SMXP nCXTxY5sGdD7dkFsoCRO3+WI/JexYxMpCqraQqFItgAVv4y10cNmGLFhHVcp9rWHLX03 195wPlVniNoGCXfCc1j2JgZ8mhEpUjvmNI2xk2mg3E2n1gSUV6C7jGDAqyn1c9l2IBUa Jhoua+E6Bp8cAH2vytfs6UAwPmI/u9pJl+N6W8jaFFtN9FxXmkr8WKNPxz8PyxX18wdA 82HZxBsx7IPq3DJzISrvgFA2ZWGf5JBkkZmoQVcx+FemnLhagHlgCylw8twUsndElYYh IZwQ== X-Gm-Message-State: ABy/qLZAl3PDV95riyNUqlHbDHZKMsEFbuXqIH0HGIB6mo8JfZKqqulk +7RsP9npLU41ACWSIRYEMaJEIw== X-Received: by 2002:a17:906:53cd:b0:99b:c2d4:ddd8 with SMTP id p13-20020a17090653cd00b0099bc2d4ddd8mr3250035ejo.31.1690910822788; Tue, 01 Aug 2023 10:27:02 -0700 (PDT) Received: from localhost ([212.23.236.67]) by smtp.gmail.com with ESMTPSA id i10-20020a170906250a00b009931baa0d44sm8029171ejb.140.2023.08.01.10.27.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Aug 2023 10:27:02 -0700 (PDT) Date: Tue, 1 Aug 2023 19:27:01 +0200 From: Jiri Pirko To: Anvesh Jain P Cc: "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , Kuniyuki Iwashima , Hangbin Liu , Heiner Kallweit , Andy Ren , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Venkata Rao Kakani , Vagdhan Kumar Subject: Re: [PATCH] net: export dev_change_name function Message-ID: References: <20230801112101.15564-1-quic_ajainp@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230801112101.15564-1-quic_ajainp@quicinc.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE 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 Tue, Aug 01, 2023 at 01:21:01PM CEST, quic_ajainp@quicinc.com wrote: >export dev_change_name function to be used by other modules. > >Signed-off-by: Vagdhan Kumar >Signed-off-by: Anvesh Jain P >--- > net/core/dev.c | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/net/core/dev.c b/net/core/dev.c >index 69a3e544676c..1dad68e2950c 100644 >--- a/net/core/dev.c >+++ b/net/core/dev.c >@@ -1254,6 +1254,7 @@ int dev_change_name(struct net_device *dev, const char *newname) > > return err; > } >+EXPORT_SYMBOL(dev_change_name); > > /** > * dev_set_alias - change ifalias of a device > >base-commit: 0a8db05b571ad5b8d5c8774a004c0424260a90bd nack. 1) there is no in-tree user 2) changing name from anywhere else than userspace does not make any sense. I'll eat my shoes if there is a sane reason for it. Please don't send patches like this. >-- >2.17.1 >