Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp1280747rdg; Fri, 13 Oct 2023 17:01:37 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE9vbT8xSr34VfpHXXJy5q+m0dMnNNjRGWxaC52G/CZAQRKdt7yKwPXELBe6wTyfwEjLzOb X-Received: by 2002:a92:da4b:0:b0:34f:e02a:f820 with SMTP id p11-20020a92da4b000000b0034fe02af820mr27677909ilq.12.1697241696898; Fri, 13 Oct 2023 17:01:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697241696; cv=none; d=google.com; s=arc-20160816; b=bCdi1OSKdGoUZ93366HRVnRq2WA0R5xjfMf4GXd1saji6qGdbNjeoBJI+XuxUOyaV8 TwF0Ch6Kscsu09rv6rNlqSqK393DtXtvw1Pp+AFDA99/zuXskkgw7P2faiVQhhgDv9Lq 0Btp1NniR/FIXQlLcPTUkKeShozSJ+C+LJ+293X8CrxVw3iCQQtM+hVNXVcS8btQclmP RAirMl9aE+8MfLjwX851X+Aa0Lixk3y9Xv4MbxxyKH8zCu769m0MkQ/IcqjQ+3K5hMG7 da1CN/HFWPoaYIMcGcxT0+ZK/pgxClcjO1jw2wzfhmShRG1GEeZ7pLv6XdbmO+MVcCep O6Rg== 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=VQr8EpeT6urWq01dGFJ8h78OCKjr98MpR7hQAtaWyMU=; fh=8UTpX/5fK/BKqaISv/SNR1Twxqzd/jGFVIqLTvUt7tI=; b=uCBJXtdkz3beD7ppCL6Pb6XWxmAKNQ0VmU8UoM/1S61wQnwJAY8HrcHMpK+mZ16+2L HpHj1jxAeUkeXNanf9+IRc6gtsRA3b0Cz4cn/TiuTiuVB921M3uOJzSEXPDsg6tfNddX mAHa9I3eh451nY+5xt1a1K1u44BjSSb5W2gsQh2vKrnZMuAo6dIBGmy2N7v3dYBbFRgK 9PV3d3Oeg5ahrBK8J6pebmFop8jBUbkw2yLeKA7E8X9NL5JDosQkcTVSRqcbrpxxiR4l Xsf+3zIXG1iLfZs0agVeNkvDiJHEuStMff+nSeuZWJWdDrym7rIoP4Ht+ZMiEUco0cl+ zZXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="rLbE/Xrl"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id bv130-20020a632e88000000b0056b0b30d05csi5474996pgb.245.2023.10.13.17.01.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 17:01:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="rLbE/Xrl"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (Postfix) with ESMTP id DD69A8242F64; Fri, 13 Oct 2023 17:01:11 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232623AbjJNAAd (ORCPT + 99 others); Fri, 13 Oct 2023 20:00:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232574AbjJNAA3 (ORCPT ); Fri, 13 Oct 2023 20:00:29 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67361AD for ; Fri, 13 Oct 2023 17:00:26 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPS id 10424C433B9; Sat, 14 Oct 2023 00:00:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697241626; bh=2Cwm6LisU+P9GUP96QYZ7Q9NvdOC7Vh28XyKKYvVGZc=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=rLbE/XrlMcyajcNIas0Ah3tA53LrR9kXnNeUanCVaIKdMxwgBQ1NnqKpUaCQ2HrvP wbUrO0cP/19kUrYoHn+unf1E2eVU6eDJ22LsiIb3VDzTsZc8tQg60H6MSZXYx2gg6R oGCx6G0c0CADcjOA+gV2uxxyJeZdTI2sQa20M25/E9Ca0O4rS/3qeVDzCMdtxAAd1V 1mtruKPEQvBFHv8tp2CG1yewrCqd4/aq/DOuxzQu+nb7yaBKvr/I/expxW9bfEWegr /JCXz3Pow1yzhLQwc9qPbt1e8HVd0zhZ+2Ca3zJHFQKGUl5HUACAtNeLkewu4bsnZY lR+QP3eiIPjMw== 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 F2A81C73FEA; Sat, 14 Oct 2023 00:00:25 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v2] net: dsa: vsc73xx: replace deprecated strncpy with ethtool_sprintf From: patchwork-bot+netdevbpf@kernel.org Message-Id: <169724162599.10042.9303043491352873770.git-patchwork-notify@kernel.org> Date: Sat, 14 Oct 2023 00:00:25 +0000 References: <20231010-strncpy-drivers-net-dsa-vitesse-vsc73xx-core-c-v2-1-ba4416a9ff23@google.com> In-Reply-To: <20231010-strncpy-drivers-net-dsa-vitesse-vsc73xx-core-c-v2-1-ba4416a9ff23@google.com> To: Justin Stitt Cc: andrew@lunn.ch, f.fainelli@gmail.com, olteanv@gmail.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@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 groat.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 (groat.vger.email [0.0.0.0]); Fri, 13 Oct 2023 17:01:12 -0700 (PDT) Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Tue, 10 Oct 2023 22:32:35 +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: - [v2] net: dsa: vsc73xx: replace deprecated strncpy with ethtool_sprintf https://git.kernel.org/netdev/net-next/c/e3bbab4754de You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html