Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp2255323rdb; Mon, 9 Oct 2023 19:50:35 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHFDJpkQKgJ88eXnkadKyic/KUm3B5kGqwrOADG+yKl+hQjKNKCiYMVfCeE6iA6IyALKkbe X-Received: by 2002:a17:902:ec91:b0:1c8:9d32:3395 with SMTP id x17-20020a170902ec9100b001c89d323395mr8647521plg.41.1696906234839; Mon, 09 Oct 2023 19:50:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696906234; cv=none; d=google.com; s=arc-20160816; b=m8EfbSnS/NYl+j/9ts8nl8Xc39VFrBdAuHosmAMUNv8etNsTzn1gBeVgKXnXCNtmEb cWeb5qDk4KZXjuGv4rOkhp33q2+KQygX/ZMB3qmthEng5TwS3KHa4hyLSiY/03CK6YcT PbvHJzwDWxptTdeVwyxsTUWCkvQHNwZ/qkdDU8rRflaozmybnFL9P81nCALvaisBNfv2 awk2bT+AGxjs9WsnDFlGDpDGW4vqG9Gmd+f7rgGRzALxSHEJPXMRdLhDEQevDKzdHKSW 2ZGewFPBjuIlDuk9OicXRmxVW/U7eXJXdCcGZkGtHGTGLCMvDQkpqekcJH9T82nZ9Mbk VHiw== 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=TMq/R9TP8OTYnzS415S8SPuFTFwE8syTKnyOfILBHHs=; fh=Oh2oUuIW9Fn/bxa4azbmfNsRsjjxt2DJfrYOnol5rXA=; b=P+Dd+d/C2jelZYwg4VOnai4bTI4/Tf+CMVwLC8KRpXc5vUPMnlkRwa9zzbv5XRreH7 HurqLMPt4O9jo7LPn3Loxyc75OzFIsJqqw9BBLugvoOLtjURGITDakQ/rLW2w8nbKPdS v/9vBC6rNeeeD/Mqw5QlFfnDFL0CtCiCP2h9JaavOyjbBv1E0V4UDD+qkGS302c6UbUh cuSvF87Um2TJIpU00gWQ3sezBE0RaP4pZQ4XiuaTL1H+33HUjiqcmljbSHeP1Yi44I5e L+e9Qq3bylfaJiAQJWusvLIQozrPK0qWpCDMoUKVNiVO+2u2mwB4z6uLf09vHjGTEGKF hUDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jcoVvryf; 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 j10-20020a170902da8a00b001bdf71d52b0si11734072plx.456.2023.10.09.19.50.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 19:50:34 -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=jcoVvryf; 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 1CFB280FA9E6; Mon, 9 Oct 2023 19:50:34 -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 S1441936AbjJJCu2 (ORCPT + 99 others); Mon, 9 Oct 2023 22:50:28 -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 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:34 -0700 (PDT) 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