Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp2815048rdg; Mon, 16 Oct 2023 16:20:44 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGvJrre0/yYU81q6JXtRvrT2HBWrULlh7GdonGK6kUgPqlqHrQigWqQp2hc5aGO59fT356B X-Received: by 2002:a05:6a21:4882:b0:159:cf93:9b50 with SMTP id av2-20020a056a21488200b00159cf939b50mr450709pzc.46.1697498444565; Mon, 16 Oct 2023 16:20:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697498444; cv=none; d=google.com; s=arc-20160816; b=na9GAVBqP2ma+W4UMn/HLqzkfgMzIEdGNtVrkK7pfTL3/+mGMAL4YIi3af5QSiTmNo kE+/j3FW8HpaYgqb3hDQYgefow/s8iKkzH35UY5tw1alDeP9SDHOo/4OI9RfkHXwjgD8 anxFljfFMmDV+ZDSRw1QGZjb/LSN1c9JrF4oGhUqczIlU3lXzumGlJb8z8DNUaHJjsyh 6/ctDJKPgkDX7ZHOK9xyzq9u5JqRWMqi3sJlJ1qatDOWUVIAaiJkITOcZae+1acv1y43 YBDqxvMsRK++2colU4F/2GTDsgHRHQ7/xLc3NwHY1o7oqo748x2t9PKjosxlZvv1Szel fLDg== 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=3QomXvcKYoXXoL9eL7OYpqolwF+vml9w+wllWKEemn8=; fh=yezmEHJn0iHkAGPOv5ENZmKzQzU+gM4n3POoN1pZsuo=; b=VZJZhv5tovjCVDnYYVvShxAMBAA9oPjUQ+nsuJq7fY++lPC3eQnDFchD1n6Scp2q2d 1eNr+A5BydFvcvygdXha4rh8yCpbUHMjK+xiOZ6NDPd1XyUszzX7PDF+NggetO1X+jYU eX+nH7idCz1Igj0i0DOIQziCSpgOBpH5hE0Apd127sd8OZh1Q+sVfuAZX/2l/2GoaOk8 sYcCWlQZqwaocpnIRud2OBsjSmA5L71HSmTUI4kiVga66QrxrYVlp6PkzIdVKNMsTnPb rTq3aRklkyQwB+4H92BRbQC17XIQI1Rm6vvxTK937cb8w/z0gvEPMWwn87vT5aToH80K o6qQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="JxDCc/ZR"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id kg14-20020a170903060e00b001c7755dccc7si341311plb.632.2023.10.16.16.20.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 16:20:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="JxDCc/ZR"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (Postfix) with ESMTP id 15B4D80B26BF; Mon, 16 Oct 2023 16:20:42 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233714AbjJPXUY (ORCPT + 99 others); Mon, 16 Oct 2023 19:20:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43092 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232345AbjJPXUX (ORCPT ); Mon, 16 Oct 2023 19:20:23 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71DB5AB for ; Mon, 16 Oct 2023 16:20:22 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPS id F07A0C433C9; Mon, 16 Oct 2023 23:20:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697498422; bh=lOIpGqgibN8/nbIwE0LnrrmupkivmhXyXtxTDswu3IU=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=JxDCc/ZRxj55oYIWPMqbVlMhSI1jAk/wVz34Cg8X+aDwT9mCxprAAEQEddTPjsx0U LpmgMjzE7Lt1UV/btjCLfcT2PJB/nQaCj3dMzHb7ui/ni2lY6VX0TA+HbekE1nJnFO prj1PMRtVBGjGYQgzb/SdB/Gew0x4zeDogDkomtZg/dZmXHwm4pYHH38BwvGdANhsP bKuWgd/r+rmMJnMPaOR6UYNZ138HsloqwKaVIWMRqMMOBOHEDQJyBA+NA+aRSdWtp2 dnpTYrjcT7GJJbPFSMH+uC8mfCEGvehd+OOdWLLJzdDHAo1Mqr7TDm5WARmEK/nijh 6ukjPUV92obew== 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 D57B3C04E27; Mon, 16 Oct 2023 23:20:21 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] net: phy: smsc: replace deprecated strncpy with ethtool_sprintf From: patchwork-bot+netdevbpf@kernel.org Message-Id: <169749842186.17995.9195946058362636123.git-patchwork-notify@kernel.org> Date: Mon, 16 Oct 2023 23:20:21 +0000 References: <20231012-strncpy-drivers-net-phy-smsc-c-v1-1-00528f7524b3@google.com> In-Reply-To: <20231012-strncpy-drivers-net-phy-smsc-c-v1-1-00528f7524b3@google.com> To: Justin Stitt Cc: andrew@lunn.ch, hkallweit1@gmail.com, linux@armlinux.org.uk, 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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Mon, 16 Oct 2023 16:20:42 -0700 (PDT) Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Thu, 12 Oct 2023 22:27:52 +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 dedicated helper function. > > [...] Here is the summary with links: - net: phy: smsc: replace deprecated strncpy with ethtool_sprintf https://git.kernel.org/netdev/net-next/c/4ddc1f1f7339 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html