Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp761163rdh; Thu, 26 Oct 2023 15:18:34 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHWHxLsUuTGrp0fye3Eo5FsvLzFcuaWvoPi/XaYoJvOkM3vzSq64cSj4PcNMIaFGFOOgQU3 X-Received: by 2002:a25:d28d:0:b0:da0:29b9:2e39 with SMTP id j135-20020a25d28d000000b00da029b92e39mr1916526ybg.19.1698358714118; Thu, 26 Oct 2023 15:18:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698358714; cv=none; d=google.com; s=arc-20160816; b=t/Km78BAUl+uhyuDyaiT6Mt5LbzFfLfJ3YIp6lANqN0Y1yYSNg5X0yKS1OCz6jC0U1 JvrBsqT3twsvgt3lObFjLtg3Y1TneG5+k6cq/ip/VkRPeF0xC2YBRUrLjHr7z4Ccofio edQWwxjYJYbVAkvM9haHnLn0MbTfzbo+Gy62QStTrerJsOgMq7wXln+3s8+64bEY3s9k YaLYIsyuSC2JUyVS3DScTqa90FkGqhpLSL43x8psBgNhPMY//tsaEOUhtCe53se7UzZV 37Xb+1xQ3V5ymhVCCrGSuMItGngUHFDn0Wcs6ingQFFABse351TJV9xhUWLfv5OSRQvJ tMvg== 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=J6aQzvymgnykTJYyUNqos0M7PldrCbODsxg27QrFdA8=; fh=A08hpOkwJhqMw6kFVAh540a5au36L9EwT/36Qo1NKe4=; b=dBacEZombV3MYEuAVfm19KtA3+5qkX+aVlPtLNJDkj9BavMikserirQZYBHJBXMdEZ xv1LQESPck/IeaEHc6IsucjkAeHENef1bccE9zkSxsvbf3i5UTFZOMxX5IGDWi5Ktdvk 3nNXanEral1tey+6piZkzTP0HzYFDgis1uc/i5+qzr4H29HV9ggocTA/baTgHycReanB XoBlzuGzL9C6gGlVSsIOzUwYaQW9wHecVHy0gLX+Se6+jmVwmpFb/HHugpXfj93vwv7e zHsAcOWDkpg5muwVU1Rx7WitKdUKodDCT9aX/Ieax0Tyul4hq1PqBjNUpX2FabWqv1h4 h5Jg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="MqA2I/jk"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id z7-20020a258687000000b00da0737d9587si621132ybk.575.2023.10.26.15.18.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 15:18:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="MqA2I/jk"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (Postfix) with ESMTP id 41710818F6B1; Thu, 26 Oct 2023 15:18:02 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344984AbjJZWR7 (ORCPT + 99 others); Thu, 26 Oct 2023 18:17:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344955AbjJZWRz (ORCPT ); Thu, 26 Oct 2023 18:17:55 -0400 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24168D47; Thu, 26 Oct 2023 15:17:53 -0700 (PDT) Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-4084095722aso11038155e9.1; Thu, 26 Oct 2023 15:17:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698358671; x=1698963471; 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=J6aQzvymgnykTJYyUNqos0M7PldrCbODsxg27QrFdA8=; b=MqA2I/jk26INgZxxsfVwUbIFNkompGVlAukrf7za5JwMkk0rE5JqLiWst0keoAtdcg wPDrNVF6A1TCMXqSaBcOdf0YvWxoxDZuQyeqnsbFiQoX6ZvBb7TyYF8vJUzH62RRDYnd yd5L2Znfv+pvHvGdB4g03bhFhXNl9yDKz0loSiyC8ppi7q+DZDKYQhCHl7WTGiOZvYr7 nb+N3uUMFacjIG3UUEt6rYExk0I9M8dpu1zrG5PHZPGEsYVd0HscdJU2kA6jnT8yNqkL a7QX0aK5wmvuzFNok4B4ZLYi7qsRFDyhmBxsyZTSmLJMNNXmZGUFygtJnIc+MsvvIpcK MImw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698358671; x=1698963471; 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=J6aQzvymgnykTJYyUNqos0M7PldrCbODsxg27QrFdA8=; b=iJT1grZxiBrWILOARyUcxAl56GlPRsw9z0Lr0W42iYcQagSDNvNJyFpUQ9HFCJUWip 4ug48x9jEpl3D2q8uRCjUd7CczyBcphb8k3RBDrUSsQNOmIrDdfqsX8UoRF75dNbxzuj 0GZsVqz0KW1Vns+xPKK8wqB0ElKVZTJcJ1zpef8R68rRTSKVGaBMEjwSKdtxrtrwtiXt 3IdkykgocQ0WIW6yqu/2cNAqI9TK4B+oXeM9YynyApO56gEWq1M/vaXhclgS7Aq70tkC NbjOmqTcjZcMXtYy7Aw41qKtl8dTefLQeS4+BE1r1kX9puUU8ut1Bh7qzUfTgGAIs2aB JHig== X-Gm-Message-State: AOJu0YyjYiud9Fp5YMbn4Z6vnDEQ9XInMDo06MQT/Tuf5bUaTp+K3rZf qJ4u4hVQuJz2u2IM37W3CYM= X-Received: by 2002:a05:600c:1d18:b0:408:4475:8cc1 with SMTP id l24-20020a05600c1d1800b0040844758cc1mr930072wms.35.1698358671120; Thu, 26 Oct 2023 15:17:51 -0700 (PDT) Received: from skbuf ([188.26.57.160]) by smtp.gmail.com with ESMTPSA id v3-20020a05600c428300b0040596352951sm3541734wmc.5.2023.10.26.15.17.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 15:17:50 -0700 (PDT) Date: Fri, 27 Oct 2023 01:17:45 +0300 From: Vladimir Oltean To: Justin Stitt Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Shay Agroskin , Arthur Kiyanovski , David Arinzon , Noam Dagan , Saeed Bishara , Rasesh Mody , Sudarsana Kalluru , GR-Linux-NIC-Dev@marvell.com, Dimitris Michailidis , Yisen Zhuang , Salil Mehta , Jesse Brandeburg , Tony Nguyen , Louis Peens , Shannon Nelson , Brett Creeley , drivers@pensando.io, "K. Y. Srinivasan" , Haiyang Zhang , Wei Liu , Dexuan Cui , Ronak Doshi , VMware PV-Drivers Reviewers , Andy Whitcroft , Joe Perches , Dwaipayan Ray , Lukas Bulwahn , Hauke Mehrtens , Andrew Lunn , Florian Fainelli , =?utf-8?B?QXLEsW7DpyDDnE5BTA==?= , Daniel Golle , Landen Chao , DENG Qingfang , Sean Wang , Matthias Brugger , AngeloGioacchino Del Regno , Linus Walleij , Alvin =?utf-8?Q?=C5=A0ipraga?= , Wei Fang , Shenwei Wang , Clark Wang , NXP Linux Team , Lars Povlsen , Steen Hegelund , Daniel Machon , UNGLinuxDriver@microchip.com, Jiawen Wu , Mengyuan Lou , Heiner Kallweit , Russell King , Alexei Starovoitov , Daniel Borkmann , Jesper Dangaard Brouer , John Fastabend , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Nick Desaulniers , Nathan Chancellor , Kees Cook , intel-wired-lan@lists.osuosl.org, oss-drivers@corigine.com, linux-hyperv@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, bpf@vger.kernel.org Subject: Re: [PATCH next v2 3/3] treewide: Convert some ethtool_sprintf() to ethtool_puts() Message-ID: <20231026221745.uiqvn6avvcruyafx@skbuf> References: <20231026-ethtool_puts_impl-v2-0-0d67cbdd0538@google.com> <20231026-ethtool_puts_impl-v2-3-0d67cbdd0538@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231026-ethtool_puts_impl-v2-3-0d67cbdd0538@google.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 26 Oct 2023 15:18:02 -0700 (PDT) On Thu, Oct 26, 2023 at 09:56:09PM +0000, Justin Stitt wrote: > This patch converts some basic cases of ethtool_sprintf() to > ethtool_puts(). > > The conversions are used in cases where ethtool_sprintf() was being used > with just two arguments: > | ethtool_sprintf(&data, buffer[i].name); > or when it's used with format string: "%s" > | ethtool_sprintf(&data, "%s", buffer[i].name); > which both now become: > | ethtool_puts(&data, buffer[i].name); > > Signed-off-by: Justin Stitt > --- > drivers/net/dsa/lantiq_gswip.c | 2 +- > drivers/net/dsa/mt7530.c | 2 +- > drivers/net/dsa/qca/qca8k-common.c | 2 +- > drivers/net/dsa/realtek/rtl8365mb.c | 2 +- > drivers/net/dsa/realtek/rtl8366-core.c | 2 +- > drivers/net/dsa/vitesse-vsc73xx-core.c | 8 +-- > drivers/net/ethernet/amazon/ena/ena_ethtool.c | 4 +- > drivers/net/ethernet/brocade/bna/bnad_ethtool.c | 2 +- > drivers/net/ethernet/freescale/fec_main.c | 4 +- > .../net/ethernet/fungible/funeth/funeth_ethtool.c | 8 +-- > drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c | 2 +- > .../net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c | 2 +- > drivers/net/ethernet/hisilicon/hns/hns_ethtool.c | 65 +++++++++++----------- > drivers/net/ethernet/intel/i40e/i40e_ethtool.c | 6 +- > drivers/net/ethernet/intel/iavf/iavf_ethtool.c | 3 +- > drivers/net/ethernet/intel/ice/ice_ethtool.c | 9 +-- > drivers/net/ethernet/intel/idpf/idpf_ethtool.c | 2 +- > drivers/net/ethernet/intel/igb/igb_ethtool.c | 6 +- > drivers/net/ethernet/intel/igc/igc_ethtool.c | 6 +- > drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c | 5 +- > .../net/ethernet/microchip/sparx5/sparx5_ethtool.c | 2 +- > .../net/ethernet/netronome/nfp/nfp_net_ethtool.c | 44 +++++++-------- > drivers/net/ethernet/pensando/ionic/ionic_stats.c | 4 +- > drivers/net/ethernet/wangxun/libwx/wx_ethtool.c | 2 +- > drivers/net/hyperv/netvsc_drv.c | 4 +- > drivers/net/phy/nxp-tja11xx.c | 2 +- > drivers/net/phy/smsc.c | 2 +- > drivers/net/vmxnet3/vmxnet3_ethtool.c | 10 ++-- > 28 files changed, 100 insertions(+), 112 deletions(-) What's the "next" branch that you expect this to be applied through, and why is the patch "treewide"? It only affects networking drivers (I see nothing outside of drivers/net/) - so it's "net: Convert ..." and it should go through the "net-next.git" tree. The patch should be formatted as "PATCH net-next" not "PATCH next", to make this absolutely clear.