Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp2255355rdb; Mon, 9 Oct 2023 19:50:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGXPdpoYbLXTQt9xaEZRLFTMyL8thMX9XfqpF3Y8+CV1mH61mOJ3il4IftUMVHMh4A52hBE X-Received: by 2002:a05:6a21:1a5:b0:15d:8366:65b8 with SMTP id le37-20020a056a2101a500b0015d836665b8mr18854329pzb.13.1696906241602; Mon, 09 Oct 2023 19:50:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696906241; cv=none; d=google.com; s=arc-20160816; b=yunTbC4DzpgM6yESe+b5NzYiVaIGctvP9gBakTkmyFEntY56vAKe77aXeZlLJM4AtH tgMwAoLqytR+RsiXH6ON5t+2KSFpGIOMoYpxmyD9EDtt8E2OZ2mZM383BIng+LzDtuET 5ytEVfqn+khkfho3TTRawpDMrKAADnRwD91XOXmOz7XrZ1HBih6+lxlJHRWvn3aIaWBB hImFhhtvKQF9iYs+VW4QaRi6TZte8mbtcLwvrE0RMOfhWw1LGeUiABtoqCDEStNuiZxH mKA19kGr2MVaHSVfjd7Vx4oQEtL5wmFR/4mYoyqIvC0D3/BZ2xmJI8PAEEj6Q+ZrP0q+ YyVg== 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=pYZAR+xfsLwrHVK+P/ZLhkQ3ki42ul4egWUOgYXeP2E=; fh=X4wvIFWNwtNRf3rUKFVWC8uh92EfOZf1nPjQzlsN9QM=; b=qW3+Fo9MGedf5U5vmD/r5dTALqaIX1aGZka1uah2p/ymiNzpfqnLP+DoUjwwupddzR Orf+qJJcCluFVECd0VXPp5HS+yoCrexV+Gh9ZXpJfPL23jCj3rZ8I8L8bn/jJTOlqEK/ EPGbbvh1RksedU5GBbgfTU7fvvPmVyN/SJpiBKitRBJ4Nw989bafewtnxqYQuZ+LcAjJ 4zPUMHCmnlOn5Kaz0rPBeuE7EpDg8nhaz3xTDohPdTNYS1SVqlkdEXo96A1o6/Wo6qEp IH07drtDKZYgOsOU7uHeGRxeMsLf8jPYfkhcr4ZSE5Pm5pExO9BNxubSukKIRyY9RKc2 uCOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rIv4pLhW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id bx29-20020a056a02051d00b00588d84b1217si12852529pgb.415.2023.10.09.19.50.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 19:50:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rIv4pLhW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (Postfix) with ESMTP id 803EE8106867; Mon, 9 Oct 2023 19:50:40 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1441942AbjJJCua (ORCPT + 99 others); Mon, 9 Oct 2023 22:50:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1441879AbjJJCu1 (ORCPT ); Mon, 9 Oct 2023 22:50:27 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4347CA4 for ; Mon, 9 Oct 2023 19:50:26 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPS id 97F6EC43391; Tue, 10 Oct 2023 02:50:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696906225; bh=RWfYfisSlrkC3q8bAo6ZXhtYCjJgOwu0iOjtsmTdS/s=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=rIv4pLhWWKx7g+2URb+EL2iSSJCXxA+wWgL0JIVVGuX2OMWT/zXUvKqhzzFqy5P90 CXGb5VmS/iN++hCFmYG0tPzjn36z6Dn8HPGg/YkW0XX+cx1ngiwIJu8eQwJOu4LAsh PzmQfRMHhkd5woxjUD1NiI9O3S8KOUt7uyreukqWa/RIMheIoizXEhMdukR08q3528 hquIOzCk8EXcU5HKtAEtYyrgzrmxYXdRDS+FM03Op1HXT38JbVN3vwZYPf7Clo+t0/ Fc9xe5i9b43iickzw83boVQJkfjqKwJosOfIozzRQwIuVnkr1pnrqRrq1pWyEI10Nb N6T3msFnMcsIQ== 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 6B27AE11F48; Tue, 10 Oct 2023 02:50:25 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] bcm63xx_enet: replace deprecated strncpy with strscpy From: patchwork-bot+netdevbpf@kernel.org Message-Id: <169690622543.548.4787561962344231209.git-patchwork-notify@kernel.org> Date: Tue, 10 Oct 2023 02:50:25 +0000 References: <20231005-strncpy-drivers-net-ethernet-broadcom-bcm63xx_enet-c-v1-1-6823b3c3c443@google.com> In-Reply-To: <20231005-strncpy-drivers-net-ethernet-broadcom-bcm63xx_enet-c-v1-1-6823b3c3c443@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=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Mon, 09 Oct 2023 19:50:40 -0700 (PDT) Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Thu, 05 Oct 2023 20:51: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. > > 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: - bcm63xx_enet: replace deprecated strncpy with strscpy https://git.kernel.org/netdev/net-next/c/0aba524728f0 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html