Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp1171623rdg; Wed, 11 Oct 2023 17:31:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHeZ0tPYtMKep2h+MqcyaxP0PN4jAzx0Z0TS/+uRpnIfSURwPraDtS5sVb3wydZPapEeRTy X-Received: by 2002:a17:902:e74f:b0:1c6:112f:5cff with SMTP id p15-20020a170902e74f00b001c6112f5cffmr24875593plf.61.1697070691897; Wed, 11 Oct 2023 17:31:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697070691; cv=none; d=google.com; s=arc-20160816; b=guIsLNu3GzbscEPBJq7Ts3abXAohButz5fAFlbu4th+e77GkwTviYlyd8+FOVskot6 TtqPw8TU76MV6VqO0kuOsR/EXSA1VdLmJ9snayKmaOHGSNOYSml10ujCrmbHIct6ZvG4 Xd7zFwostlMRfT2Uyks2zyw/qBJuNEumr7z9R3rwuHdE2YcTOr73dPSVy9tfwR8ImVkR bflKd/XW0q5peiJeqlE/6jb/qWf2tTccu6xw/504HiH6Rf7bCgAstUm44bZ3DWPTBKca fpSb85R8QobNBzgK/RUEFoCxI+nAd+a6ap8P+k2vdphNxXVPMfUWuRvUaoRpv/5vFDeS Aycg== 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=fOA1Kn8R9vyqJUIPBoJ6OII6RdFRSN+jaxVNmulJHMw=; fh=jPQVMo2V7D2Tz+L7KWa5uaBFcOmAOQ3ME0wEWqY0Yv8=; b=pNG704shRvKCuikFjkz2+GPxTuwRKUoaz/O47EEwBIlLx8qcxi8t4jBX1mNxTH4dyb fLfkNweAxmrMK0xyObGabRMYa1MoAfWDMA4uPow3yu4qv6huY9ohbvnqGzh8J1rY6iob 4WfukY3u+3+5S4UPR8QddCvN2VXB3mLUjvIweM1Uounz0FGU6nFgbyxVzqA3PqFgiBOx vHvI3V5P7OTPlE88S7N1YNLPE+i9Ocivos/X3dfjaO154j56hkMrWkQiav/3xUcXe6qa QH66pvmjW+OWFSsi6QzsGiSgWP90Vgm+QuhhmsLTrea4KuZ75Hx3c25EOa/75Y/0DSEh TLUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sw0Sk+KS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id i6-20020a170902c28600b001c20db25104si860085pld.117.2023.10.11.17.31.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 17:31:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sw0Sk+KS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (Postfix) with ESMTP id 7F2B4807FD42; Wed, 11 Oct 2023 17:30:48 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376606AbjJLAa2 (ORCPT + 99 others); Wed, 11 Oct 2023 20:30:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233943AbjJLAa1 (ORCPT ); Wed, 11 Oct 2023 20:30:27 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EDA5090 for ; Wed, 11 Oct 2023 17:30:25 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPS id 980C4C433CC; Thu, 12 Oct 2023 00:30:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697070625; bh=IvJA5+/1A+oM3Zbf+KWTHlj+YZ6HcUH+DTBEV/43keg=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=sw0Sk+KSPrRRR8xtwZ4nK7l4zDBWMYBvOWApGoK3eIMAhVdVaeZMdKqX/wpP8mQbO cLKpGhX3OClgSTBlZ38ECkn6JFFRzUw4z74y8+hsTSbDumicAS/u0QNv9VbdPB/IiK Iwy1mKJAWa65MgA9pLXBJnzDNE9Wn2HDIlLXoSjuKdzBneInft+CJBk/kdu0kijYUV b24xEqFAFxAxFxJdimzxA0NNQejb4LJjLaLZZ8QDjVs1iQdmUhk5GQBKvsg0se5yDk BYHzP3otNyNT9hLAX2u3N4eAAkVsrNYLgMXBVUs+zhdawD2e2ffq3oz/U8EnIpxA5j 4g9jQhHf0jsyQ== 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 84CA3C595C5; Thu, 12 Oct 2023 00:30:25 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] net: mvpp2: replace deprecated strncpy with strscpy From: patchwork-bot+netdevbpf@kernel.org Message-Id: <169707062553.15864.15839733815188901404.git-patchwork-notify@kernel.org> Date: Thu, 12 Oct 2023 00:30:25 +0000 References: <20231010-strncpy-drivers-net-ethernet-marvell-mvpp2-mvpp2_main-c-v1-1-51be96ad0324@google.com> In-Reply-To: <20231010-strncpy-drivers-net-ethernet-marvell-mvpp2-mvpp2_main-c-v1-1-51be96ad0324@google.com> To: Justin Stitt Cc: mw@semihalf.com, linux@armlinux.org.uk, 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.4 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.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 (pete.vger.email [0.0.0.0]); Wed, 11 Oct 2023 17:30:49 -0700 (PDT) X-Spam-Level: ** Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Tue, 10 Oct 2023 21:24: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. > > We expect `irqname` to be NUL-terminated based on its use with > of_irq_get_byname() -> of_property_match_string() wherein it is used > with a format string and a `strcmp`: > | pr_debug("comparing %s with %s\n", string, p); > | if (strcmp(string, p) == 0) > | return i; /* Found it; return index */ > > [...] Here is the summary with links: - net: mvpp2: replace deprecated strncpy with strscpy https://git.kernel.org/netdev/net-next/c/fda9e465a9d9 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html