Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp1488815rdh; Fri, 27 Oct 2023 16:41:46 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFNvLQhUSR0nhpmhEgJcdd9V96WlHrb8h5ZHDGbALpiaro3etkTdwZHtD9dreFcW2eRxVeD X-Received: by 2002:a05:6e02:1846:b0:357:fa1b:491 with SMTP id b6-20020a056e02184600b00357fa1b0491mr6428182ilv.5.1698450106471; Fri, 27 Oct 2023 16:41:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698450106; cv=none; d=google.com; s=arc-20160816; b=BF9PyhhDc1R02cRZwzycxp80HYfRgxLPe4l1N5V05/V5Cq5rehA6isjje6Ax4mSCeF 0Rwm5DA6+YwOJqs9G8zfojZcuVZa+wvFTxsYjgkXjoJDByWceki0awWU8YeQoCysxbnN NM5i0qPh/RmZqjb75QzB21uzG7xslQUYzLKXe/IGe0Es6wO5baCYx9wXdek8eZldddqM fj1ipYko+urY7QROzm+924tLfV2UvB9Wd9oYgiYD52e35KsZriYAIyNvW0CaGYJ+KBw8 DSoXPdo8efqWoUTCSK+UvtVTC8FbEoIpy/OwCgXnhIhsSTPhtJwroPUxfVShOGSAZlAM ytuQ== 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=09k1FMNrHa5VTgFlKbdaRb+SPhW1H9zw7ovrSs4UjdY=; fh=3xQj4p/SnFWGm0aRcb78Uv2ds0InLLR9zHL9zWY9hME=; b=LnEfLBYS2rC4Jz8LOsloILAFTsicx0xtNRxtInNEgYe7VagktArKonwO5x+vtavHBH dj535SnldD8BDR46CatUpjHshx6UVeM3DT1wK2Z1krY15WMtyPvH5USpgKqko3u4pnZl EYwQuz3FvuvOG6klfHS9ELzDsgXV8h/NXkXjEtHMVLnV1HLdApwzS3H4hdhBfRom0m4+ O9KHrzFQAjh3WxNPiG21AQZVDh898XTHmoNr/PEbtG9OmOjkkBpVgmO1LZBlJJkkbKsJ 1wqhet0OCk76wvTSooTiYkpsUyzIe6Yor+5dUHu5RMRTrT5W7gcy9YD3TmPOS6sU+m4y EwdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=ZWWyy5xd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id i134-20020a636d8c000000b005a9b2800a06si1675582pgc.787.2023.10.27.16.41.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Oct 2023 16:41:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=ZWWyy5xd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 18DBF851FE16; Fri, 27 Oct 2023 16:41:43 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232520AbjJ0Xld (ORCPT + 99 others); Fri, 27 Oct 2023 19:41:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229943AbjJ0Xlb (ORCPT ); Fri, 27 Oct 2023 19:41:31 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0589A1A6; Fri, 27 Oct 2023 16:41:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=09k1FMNrHa5VTgFlKbdaRb+SPhW1H9zw7ovrSs4UjdY=; b=ZWWyy5xd7cYU1YZ3Y63aEvxcCe XQojUHYnvygF02KsdPuzUdj1VFkZLk423VqEViU6D6EUA8zRI1RlDd9z9zEMQlcl3eakNA+l8SUu/ KY2ZYQOI4FngifBT+l6rvBDcfWaH1qI4+eb0e3aX0Q5nFF4Q55qVR0t8cxpOmlH7ruCg=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1qwWRA-000Nnw-Px; Sat, 28 Oct 2023 01:40:20 +0200 Date: Sat, 28 Oct 2023 01:40:20 +0200 From: Andrew Lunn 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 , Florian Fainelli , Vladimir Oltean , =?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 net-next v3 3/3] net: Convert some ethtool_sprintf() to ethtool_puts() Message-ID: <8f0e55ea-1c24-4d6b-9398-0cbc2bb58907@lunn.ch> References: <20231027-ethtool_puts_impl-v3-0-3466ac679304@google.com> <20231027-ethtool_puts_impl-v3-3-3466ac679304@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231027-ethtool_puts_impl-v3-3-3466ac679304@google.com> X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.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 (pete.vger.email [0.0.0.0]); Fri, 27 Oct 2023 16:41:43 -0700 (PDT) On Fri, Oct 27, 2023 at 10:05:35PM +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 Reviewed-by: Andrew Lunn Andrew