Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp829942rdg; Fri, 13 Oct 2023 02:21:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHiihG0znE1+raGWddD9Ia2jmwfq6mdrFX7qJQ4OUa22E7AetSVK1LetBeZ9Zgunl+RmmSx X-Received: by 2002:a05:6808:1786:b0:3ad:fcd5:3dd6 with SMTP id bg6-20020a056808178600b003adfcd53dd6mr36899041oib.13.1697188878216; Fri, 13 Oct 2023 02:21:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697188878; cv=none; d=google.com; s=arc-20160816; b=wpyfdQU3tuMPX/zhQ8nNeQt5nNR/ScO0UdpKGP1MLvPpWcs1oHe9GYIuXTL6bHAOWM vzWdQ875zdrqk9ZiW9A6AxCFMXIb+9gw8Q/UDpj964vgPQm08M0g8UDXpFSd+GuODg7g E2IZ0qf74dwIcl/C/lb9YyUrYgAS0ZzCO7WivBclXrzbm27FBfjAdfXxcwbtUifoBPxt oPZvcRWrBVTXmpvC4cGhe75e41WHOu6HTW3/u1+uCc+EGIJ0TAagr5Eg0pKLBSCPRdHa DwlutI5XhkQL+55Qt4GC2v5hQYXXtKU+493vixRHBGin8bmLez2loi1wFniIZ7AWVhfg fnhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=9OsfPOU7fgVXSdm8L9Td08TS+ajiBSONHRR27lN/lbE=; fh=u7nbXyDh3ICMnds7Nnxzglv+SQqtEerUg/ztu0hKK/Y=; b=EzEbav0Mtu9DGFRG1TvUsNSgISyXNe/MEIQ4pIijvpNx+HgqS96ig/phh4fKUH2r/O +cyn6/x/hRUI5kF3IlK9z5vj1ZDpJhDzxFxrA5gETn5KjOa6wrykibUb+/LT4zI1rLqG 1Y5tuLhFexsMYU+V8MmZMQw1G6eac3hAEt2RmufnvlDiPcq7wpbHGgHaEI+czyaoL7hK 6Sxxjl1yEqyy5oJueWIaP6v8Bp6wBsGiBHQkFCIu83KrusrwnMljoeUsDChkRH1dF/I8 7hm9T55JEltrM1Dqdhn+yKQgOCh0roMtmKxLk5/7XWNYNJfpv+I254LA5UZm+y3l/+nv OWtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Gd8Tb2MX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id d129-20020a633687000000b00565e9c3a308si4258538pga.788.2023.10.13.02.21.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 02:21:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Gd8Tb2MX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 5835580BB1CE; Fri, 13 Oct 2023 02:20:39 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230391AbjJMJUb (ORCPT + 99 others); Fri, 13 Oct 2023 05:20:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57660 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230332AbjJMJU3 (ORCPT ); Fri, 13 Oct 2023 05:20:29 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E28195 for ; Fri, 13 Oct 2023 02:20:28 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPS id 9C80DC433CB; Fri, 13 Oct 2023 09:20:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697188827; bh=y9jDUO5xD/h+ai60uaWtxxXBe+UBTx8FQS8ef0NQ1CQ=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=Gd8Tb2MXQKv6DGxUg8FsrdZKl2dCaM7voXeaoiMPw1XT/l8feYLlF8hObsMl+giqX FIgDIuUeKTHLowxNfOK+JeCPucUl57d49MRWT91CmksF2l96zO4xzGSWhr5/G5xeLR ImpqY7K5mNHUPjxq3HsBSq19Ob3pYIXPBowbKPJRDNGkBRvfcvzWPP6jZG02E5Cftl ram5MyckjFF8NiT+EPo8EuWD3QG75eUxCR4TvCddcOYTJ88alDgvlkKySzQDCq75Wa mU3Q14WiEEqD8VV05rxDVPyDr2vhjdsQUAbjrJ2QK3GmytuWFlQuQDYSxBu2j98P9y lrCPDkaVweQwA== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 821DAC691EF; Fri, 13 Oct 2023 09:20:27 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] net: fec: replace deprecated strncpy with ethtool_sprintf From: patchwork-bot+netdevbpf@kernel.org Message-Id: <169718882752.6212.16802837129949088436.git-patchwork-notify@kernel.org> Date: Fri, 13 Oct 2023 09:20:27 +0000 References: <20231009-strncpy-drivers-net-ethernet-freescale-fec_main-c-v1-1-4166833f1431@google.com> In-Reply-To: <20231009-strncpy-drivers-net-ethernet-freescale-fec_main-c-v1-1-4166833f1431@google.com> To: Justin Stitt Cc: wei.fang@nxp.com, shenwei.wang@nxp.com, xiaoning.wang@nxp.com, linux-imx@nxp.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, ast@kernel.org, daniel@iogearbox.net, hawk@kernel.org, john.fastabend@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org, linux-hardening@vger.kernel.org X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 fry.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 (fry.vger.email [0.0.0.0]); Fri, 13 Oct 2023 02:20:39 -0700 (PDT) Hello: This patch was applied to netdev/net-next.git (main) by David S. Miller : On Mon, 09 Oct 2023 23:05:41 +0000 you wrote: > `strncpy` is deprecated for use on NUL-terminated destination strings > [1] and as such we should prefer more robust and less ambiguous string > interfaces. > > ethtool_sprintf() is designed specifically for get_strings() usage. > Let's replace strncpy in favor of this more robust and easier to > understand interface. > > [...] Here is the summary with links: - net: fec: replace deprecated strncpy with ethtool_sprintf https://git.kernel.org/netdev/net-next/c/659ce55fddd2 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html