Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1734227rdb; Thu, 7 Dec 2023 07:28:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IEhelLXeCENIpmFJpTGo0wjWnj232eSxzAtJ2FJaAgJC/cigqMmAeFo/P2nXXXmDKrbT65X X-Received: by 2002:a05:6a20:b786:b0:18f:97c:6177 with SMTP id fh6-20020a056a20b78600b0018f097c6177mr2169088pzb.116.1701962931495; Thu, 07 Dec 2023 07:28:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701962931; cv=none; d=google.com; s=arc-20160816; b=KUwjxHGXsQFfNHdovPELvg9xcPyU37JI7H7Q+muWOyAsgYaDwYgc+qistoLIVzsgCB WFnr92OUHpZlye3WLWtS7KW2sXKqC5i4qmRwJGDh2donjrvmY3hrnHaps0//Kbp8dlow ipMM8Nijxq4h5+FPOMaBWAk/rP1LLOtW/AwgSmvl5MC3dvJSAA1n6NVQcvA//jrQ5NZC e5Cun9O1JURUaLxBV/x1JiG6uzRZj/oMyMC4rAXR+DAg3IZiF7FcgXFpbJrL3c+rF8H7 29+WB2wCnnr5l2rjf2nZVoGMvQd++L+uNpgpSzwm8+7/Phf1xXyd3uMUXFUFmLtMFLpt jEfA== 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=oSO91Zjek++1IKXEdE5RYlis15XBD+gc14pgxk+BMSU=; fh=A6Ak/0HuETwc581UDqGEEVzLAcTCNqoOurHNkiA/JQU=; b=ayklpYcarmCXS6h0tHK334VGCNsSNOgC1phY3XcmvdXuUsMbVLhwu7sdYx1WJJlKgn FztZp/b01pXwYqEwmiMYFXP+o6I8mb20mhHqBt27slEUzqTz5y5shDXHOcQSgD5SNKmN SXNk8it0iVM+8z9RpRQ8SPHO1TcegUOe8pQc0Rh+k/JkDFBaXSmajJ2FIK6fTSG/Wcg1 WoMKi5ReE8Mdw/XDGHt5CmKETbJVMZjG0P7LjQqA6E1D6mAjAdR5KpJom/EpfNxVxVs5 lCNqSNnWNY10gvmaDFpfMNzZy9jFpib6Fgh+9aszoWxNMR25lRSQXnMzSxdgkaWd0Fkm aUPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=snOb9ecv; 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 s16-20020a656450000000b005bd39be60b3si1315367pgv.390.2023.12.07.07.28.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 07:28:51 -0800 (PST) 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=snOb9ecv; 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 D29978025170; Thu, 7 Dec 2023 07:28:48 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443478AbjLGP2a (ORCPT + 99 others); Thu, 7 Dec 2023 10:28:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1443452AbjLGP23 (ORCPT ); Thu, 7 Dec 2023 10:28:29 -0500 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8177C10CA; Thu, 7 Dec 2023 07:28:35 -0800 (PST) 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=oSO91Zjek++1IKXEdE5RYlis15XBD+gc14pgxk+BMSU=; b=snOb9ecvdpUafV+1Kv8SNC57GJ x7/AZCiAkpE/XzFrf7+piCHYMPszK6iqkhe3XvlRx2yU5gcjm088FMML13QyMxSmUZgSzqvUmcNsI KZITbZYDmXgsQqEqy+L60UfhISdR1Cn92aavH1IjrN8ZR7hRCibS76yLWVKjjZLLvurs=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1rBGHc-002KGh-Uo; Thu, 07 Dec 2023 16:27:24 +0100 Date: Thu, 7 Dec 2023 16:27:24 +0100 From: Andrew Lunn To: justinstitt@google.com 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 v5 1/3] ethtool: Implement ethtool_puts() Message-ID: <6a0340d5-20e0-40ab-822e-d9fc1ce360d9@lunn.ch> References: <20231206-ethtool_puts_impl-v5-0-5a2528e17bf8@google.com> <20231206-ethtool_puts_impl-v5-1-5a2528e17bf8@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231206-ethtool_puts_impl-v5-1-5a2528e17bf8@google.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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]); Thu, 07 Dec 2023 07:28:49 -0800 (PST) On Wed, Dec 06, 2023 at 11:16:10PM +0000, justinstitt@google.com wrote: > Use strscpy() to implement ethtool_puts(). > > Functionally the same as ethtool_sprintf() when it's used with two > arguments or with just "%s" format specifier. > > Signed-off-by: Justin Stitt Reviewed-by: Andrew Lunn Andrew