From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BFF41CD68E3 for ; Tue, 10 Oct 2023 02:50:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1441940AbjJJCu3 (ORCPT ); Mon, 9 Oct 2023 22:50:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53674 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1441910AbjJJCu1 (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 555A9A7 for ; Mon, 9 Oct 2023 19:50:26 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPS id A7286C43395; 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=tF6Ro/gUUkI2B8wI0IuZ1BycMb8KeaBwrWo0SwKCyqg=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=jcoVvryflOiWJM3DgFwH70JlH6mBYXmACKaQLce/MaJzLBBgzJnvoO7oEUMwaIzh0 4Lqfz3RjTW92ZKZgLYWfRj55qGlKJ4okPRujkda/z6ReltCUO47Vx/MA3nc7FqOefi 850eMWuHlNx+UjHifagPWysFvym3jhWTir0wYbv5n+CNS207q3rMnOnqdzc+OJ+o0o gkSGgNqsLo2KhT06VeBGws0wUQWYvft86wVg4bk2igDPg+UruMYdB+d1f3aK4k5mbf o+CCt1nFLecAlsLA8Jlmxr5XfOaKkqbLDrLPRKABONjiHbwTtzNuCEScSgyXysY8EN tgrOC49LrI7Zg== 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 7D59EE11F4B; 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] liquidio: replace deprecated strncpy/strcpy with strscpy From: patchwork-bot+netdevbpf@kernel.org Message-Id: <169690622550.548.16340767982539390712.git-patchwork-notify@kernel.org> Date: Tue, 10 Oct 2023 02:50:25 +0000 References: <20231005-strncpy-drivers-net-ethernet-cavium-liquidio-lio_ethtool-c-v1-1-ab565ab4d197@google.com> In-Reply-To: <20231005-strncpy-drivers-net-ethernet-cavium-liquidio-lio_ethtool-c-v1-1-ab565ab4d197@google.com> To: Justin Stitt Cc: dchickles@marvell.com, sburla@marvell.com, fmanlunas@marvell.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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Thu, 05 Oct 2023 21:33:19 +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. > > NUL-padding is not required as drvinfo is memset to 0: > | memset(drvinfo, 0, sizeof(struct ethtool_drvinfo)); > > [...] Here is the summary with links: - liquidio: replace deprecated strncpy/strcpy with strscpy https://git.kernel.org/netdev/net-next/c/52cdbea1a54a You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html