Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp3578659rdb; Sun, 10 Dec 2023 11:11:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IFUpMQQEVLuWOt4Qv3RyiuA8aBaAqBRmtODtafEu3h0oIEMXuVv6Ub/LHXfIM1VHEmmPCh5 X-Received: by 2002:a05:6a20:968f:b0:18f:97c:385a with SMTP id hp15-20020a056a20968f00b0018f097c385amr3248636pzc.52.1702235487612; Sun, 10 Dec 2023 11:11:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702235487; cv=none; d=google.com; s=arc-20160816; b=imkhg+qewcST/PRghd4/XYCeefRNDdem+4L153t9XaN0iuRmEhkY6HcC7YNRxOycnx lRqQmIHcnbMLOqh5gsfwzD/VwjESbWYtL7EFwC1CkK53n46AJ0xUtLYmzxqy6Kw153UC Sm32I3Bd0mR7jJK7MyXaOWSMPLVzKS6mSs5FlmLz6MHJw4aUqkMG+jltkMtYk/k2WhjY rpJv6FgS0PTN5F1b1zutJNDM9Ev5qS4f6jP1i2sZ962z+o0XHMECHTd9Insiy8XLa2Km Zk4jr1GqwMwcopYT2xhJuKJWfaPL+gM+7h4wQ5SrpZvvOJva7nl8VcHHZSd/+Kty6iHX YJ2Q== 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=/QMplISJTciubCbdrHecJK8oLALU3l+R6wf533EfpfY=; fh=Uq3+86F8lpoAx93qrST7yu0X8GQDrKtJSqnoqZLmEEs=; b=nud1g+Sbqy7Cmv4euYHlMLphvxMgUlMNvkHUcAryAVxLowb8ti3hRhHKfPs5g2U2dh sAwG4uin2EnRk9PnzpNBkjQIPo+IZsl4lm8q9H7NAcsf+aDfpMbnsiPt3/21Eh72m5I1 beMt8qaL75quRSb6vvy1AZrivMq3qtTNvX2E+zfC6zfsp2TlTSvUOh9SuF8uu8I6O5FP BQnW7rKZt8kY9XHElVr+jd87jbARmyBbWQQoasCI8fjWfXxdNokO6WXsTGBzsbh+b1uA W2f6XGwuZA3n2tqQRP2DEp+gZTfyJz9SV8TpTZekxbF21KmJWob6S31HfKi2OizX9khC MVcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fTn5fYSw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id p41-20020a056a0026e900b006cef647f067si2508204pfw.268.2023.12.10.11.11.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Dec 2023 11:11:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fTn5fYSw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (Postfix) with ESMTP id DA12A80612B1; Sun, 10 Dec 2023 11:11:24 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232042AbjLJTKY (ORCPT + 99 others); Sun, 10 Dec 2023 14:10:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231598AbjLJTKT (ORCPT ); Sun, 10 Dec 2023 14:10:19 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0FB68F0 for ; Sun, 10 Dec 2023 11:10:25 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPS id 83C3DC433C9; Sun, 10 Dec 2023 19:10:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702235424; bh=xtoKuB/V5aQTclBE1TijIXIA5MMvFsOIUDUePA15oJ0=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=fTn5fYSwkkUvrDxP4edGPar1kTbyUg/lSDWLQpE0fO7MjAH2qRbaseAw1YYic51oE 7M7VMoUcbhvtVSQq/ez59JfxOpcGYbaBbTFWGBHd3ukUsv7YiB15mnxg3ATsFw7Ce5 38jd2tAq9tV+Lcn87qWGpMnLT6bhfmwlEn34ZuzEJoVg6zDjTm84CoSDfCZt7jI6sq 5LP6m8M/2IL556tt7xMTTvJWTCazbBIWh6ya2+GwVJYIqYq4tdpL0LgL4oRflqdGnJ 3L2lKexfdgLLwkrKJOL60p/5oYkBoB51V0RPtHtXRLbGyLqkSzdW49ZlEXd80xdXnP 6z1v1rQhhwEHg== 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 694FDC595CE; Sun, 10 Dec 2023 19:10:24 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v2] net: ena: replace deprecated strncpy with strscpy From: patchwork-bot+netdevbpf@kernel.org Message-Id: <170223542442.32670.11976049465072620330.git-patchwork-notify@kernel.org> Date: Sun, 10 Dec 2023 19:10:24 +0000 References: <20231207-strncpy-drivers-net-ethernet-amazon-ena-ena_netdev-c-v2-1-a1f2893d1b70@google.com> In-Reply-To: <20231207-strncpy-drivers-net-ethernet-amazon-ena-ena_netdev-c-v2-1-a1f2893d1b70@google.com> To: Justin Stitt Cc: shayagr@amazon.com, akiyano@amazon.com, darinzon@amazon.com, ndagan@amazon.com, saeedb@amazon.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=-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,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.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 (howler.vger.email [0.0.0.0]); Sun, 10 Dec 2023 11:11:25 -0800 (PST) Hello: This patch was applied to netdev/net-next.git (main) by David S. Miller : On Thu, 07 Dec 2023 21:34:42 +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: - [v2] net: ena: replace deprecated strncpy with strscpy https://git.kernel.org/netdev/net-next/c/378bc9a40ed8 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html