Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp2815064rdg; Mon, 16 Oct 2023 16:20:46 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGolj+aeT4EfiWzOw8DpC3kfMm+ANU/B4zS5A4zk90yEx0GBqn+4CVFNdRU8yuuHUhaCAwY X-Received: by 2002:a05:6a00:983:b0:6be:1da:f7f2 with SMTP id u3-20020a056a00098300b006be01daf7f2mr674385pfg.34.1697498446389; Mon, 16 Oct 2023 16:20:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697498446; cv=none; d=google.com; s=arc-20160816; b=tCUeJYFGfDkOMC3UxEug/4yiM1KgtG2FoJV5hHtlMMfzqTE31DH1rCuIpGZFJsb7su memhJAr+EBtArW4WdKCDQq9VsGaupFgm+QyoAJvWVurUx29MqCumq+YZqHKr1IfIp/sC 2pTrE6JI7q+HvRcaFdsZ5xNcO34DCrYbSCj21Cctb5UiV1qvIbiLP5Hyvn6f2N4X7Tu5 WQo/UTQm6MslVzJMdHhzVro9vFg71wwZtIYu3oFT4XUHKeDPxb9a2nThICT2Te4n8E8O aG6NMBN8h1f3ak5OpXNeudpQ9n3iZeu6pgy7bhzHwvI34PakC/5/5Q8w5mLAZH0XaKVO D2xw== 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=u7h6lWxMdBottsuLRWgZxlEKdeLRy37/T9BtylYEAmw=; fh=X4wvIFWNwtNRf3rUKFVWC8uh92EfOZf1nPjQzlsN9QM=; b=qFO0yeWjP5ImWukLWBLCKkEldDsMnxLX+M0fdks//Ucrf2bvgb2VcOeP8xSMYT5X2Y hoi3Gnfv5AiDapo2mB7paXPqUYIenMqy5nBX1RnHVe8a5V+uev6d+lD0Z9SgEjvFBEO6 YOpVEUbucS3bwoht0O/+D2dH010jSLOKoltPDbEax5nmhyn0sW/16nKwlShzU+YXfNJ2 rgR2FY/aW9rrLKNx5sB2RhRaAjUkVx95Ob6rvqBDFbK0iSxyPczu4gIjNzg2FZjGjUDo fNSjl2z2zn37e18pltMkTOaFtQNdP6JCwKlcaurZgDXpc9hoQXLXsUUenJYBLyChulFh eFMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SVPML+mH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id m7-20020a6562c7000000b00565d88203c8si380597pgv.535.2023.10.16.16.20.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 16:20:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SVPML+mH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (Postfix) with ESMTP id E7B4E80ACCED; Mon, 16 Oct 2023 16:20:43 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233800AbjJPXU0 (ORCPT + 99 others); Mon, 16 Oct 2023 19:20:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43080 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232457AbjJPXUX (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 5CCC795 for ; Mon, 16 Oct 2023 16:20:22 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPS id E7281C433CA; 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=SFVf1dut2cr8mYKcCmXD6aj+47GLfeCnx0HqaDEXnu0=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=SVPML+mHlskrz/hcDe6t9755ktQU+hgAG2RiODOuou49uaHEw/7FeotV5ofrFEuoM GmEuYREFSeg+YexJ1YC5kpD/V8Ynm4LBxkRhaA83ViNxq5RE6p7qjJHz0yjeSWomKH b6yX8BDRHhT2bf0iGElPdNQRvYALnoy5rXK3+P+OF5Nw2HzHtXYC8rlETzjoOT6rV+ L/qQIt+ZJVgQ1S1Cem6Du7i7R0hsTDkXve1VrF1Ih0uRsGj+QnZqUVEOpjYhHKPKXk 6NkkzOlie8dToXSWmZMVTBoOtUTCwX9omTdq42Nr6bltDTNZpvZWQ6HxGhXSLdwLYC rb8oxSsRLihng== 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 CBA1FC43170; 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: netcp: replace deprecated strncpy with strscpy From: patchwork-bot+netdevbpf@kernel.org Message-Id: <169749842182.17995.788376629952172297.git-patchwork-notify@kernel.org> Date: Mon, 16 Oct 2023 23:20:21 +0000 References: <20231012-strncpy-drivers-net-ethernet-ti-netcp_ethss-c-v1-1-93142e620864@google.com> In-Reply-To: <20231012-strncpy-drivers-net-ethernet-ti-netcp_ethss-c-v1-1-93142e620864@google.com> To: Justin Stitt Cc: 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 agentk.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 (agentk.vger.email [0.0.0.0]); Mon, 16 Oct 2023 16:20:44 -0700 (PDT) Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Thu, 12 Oct 2023 21:05:40 +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. > > Considering the above, a suitable replacement is `strscpy` [2] due to > the fact that it guarantees NUL-termination on the destination buffer > without unnecessarily NUL-padding. > > [...] Here is the summary with links: - net: netcp: replace deprecated strncpy with strscpy https://git.kernel.org/netdev/net-next/c/eb7fa2eb9689 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html