Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp549528rdg; Tue, 10 Oct 2023 20:11:28 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH+G+y1gXq9LOd9Yu+mzkjo8eGlN4M8IF+jfHu8OisDy55NR3HR8OPf6NL+00SKgUMDp1wQ X-Received: by 2002:a17:903:4284:b0:1c7:4ac4:8f46 with SMTP id ju4-20020a170903428400b001c74ac48f46mr21599062plb.14.1696993888567; Tue, 10 Oct 2023 20:11:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696993888; cv=none; d=google.com; s=arc-20160816; b=aIL6fd/+i9E5/Sbang26Aiad0PoXvZ8lUIYGhlm0c994exqAL3FvPfTG2lSuJYhkmI Bvk5AejF5VEw04adTZMyOS/3GNdj0hu7EwuFxDHiIEgIkeRjmjtNv3yq7kCluIpw8EaR fnk90RGwoKMc68b3OkFqX4GkKMu0VtcUg6yYU/uKSFNHRTAEtDNpzNPrFagELmUI+lIB SWShZux1rD8arfzhW+xVOs/y0F8hYvStMEt2kny53ZjFbICGEStXpCEA/8LRt4OaAAGY uMti6eeumpxcT1fKsi3Z4b0ijsPFaQXqoVW9L0DzeplBGhsFEpYMpsJlzfMe3ZFQs6GN aiFg== 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=ZFg4zVJnwUVYTMU9+rvnKnyDCCMR2vdmJ8kc1R5V4LE=; fh=DbGmytrpde89CDY73YyGVU6Z+7emgE84nDBhb0lvL8w=; b=Djnd55fqT4dtVuQg/gaj04cLKKZxpaEL4R3fwdrRqlYJF4Vh7IJp71s4dtZMvWBLub aLkyAfAPNveNuJXrTWQsZsitXZBfoRtujkDvVHq7TL/GalpvPYVHOSdUvdpFm6X53Tu+ 1TTKABW0MUwVDgorVKmtF6egCpylv8jUyUqYh6gIMbcLd6DNu7pCavGwBu+cRWHlROSH axV9yJvNZLxiq9geoVBgUGdLwYo3No6kRna1dXQxMRQXQOgiEcx3NWo909Cr7LFuQsou fMwT1TJqQHAYt9k7i2W9EPw9n2DRibfwk14Bwk/Uicx3Yx0kxIx8mTA36lqpdUjzShKh ltmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=STbSyrL2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id kz6-20020a170902f9c600b001c74707965csi12563579plb.638.2023.10.10.20.11.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 20:11:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=STbSyrL2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (Postfix) with ESMTP id 8726A8090259; Tue, 10 Oct 2023 20:10:52 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345011AbjJKDKk (ORCPT + 99 others); Tue, 10 Oct 2023 23:10:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344938AbjJKDK2 (ORCPT ); Tue, 10 Oct 2023 23:10:28 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F070F9B for ; Tue, 10 Oct 2023 20:10:26 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPS id 6C2ADC43395; Wed, 11 Oct 2023 03:10:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696993826; bh=tcn66kt+l9iDn6H9EiJxQxImbQ3H8oPLkbEIEMBGK7U=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=STbSyrL256HXlI5d8ErZzje4nEtk/t+xxlCs4d4EYW5g9knu9OzqiSKN6frIUSwTq xGrMdGeMxgOFzusTGNJerzoIapceKMb/E7BzBtd8C36y8InP+6HwnOdDoCTAAyCJrA hvMq9dIkLJda1s1XIhaY2E5UaPxkNcjNez0O3vEYyPqRZjKJIJ7pj/KQHp+27CSFck bFg6dhqZfkKaM+JEI7AKkqy46IBP/wa9Y4NTQSeEs5Bs0a2MFrOcmqYO/qbVIqwMj/ NMxYsDlOhkFkOr4zYKDzdH9y6dmEPYhbyXPrkgOPdXpxIMxlR8p5xPALq3v814N2gE KhaXfg3AgTyXA== 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 5158EE11F44; Wed, 11 Oct 2023 03:10:26 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] net: dsa: realtek: rtl8365mb: replace deprecated strncpy with ethtool_sprintf From: patchwork-bot+netdevbpf@kernel.org Message-Id: <169699382632.3301.16295806677296620947.git-patchwork-notify@kernel.org> Date: Wed, 11 Oct 2023 03:10:26 +0000 References: <20231009-strncpy-drivers-net-dsa-realtek-rtl8365mb-c-v1-1-0537fe9fb08c@google.com> In-Reply-To: <20231009-strncpy-drivers-net-dsa-realtek-rtl8365mb-c-v1-1-0537fe9fb08c@google.com> To: Justin Stitt Cc: linus.walleij@linaro.org, alsi@bang-olufsen.dk, andrew@lunn.ch, f.fainelli@gmail.com, olteanv@gmail.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.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 agentk.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 (agentk.vger.email [0.0.0.0]); Tue, 10 Oct 2023 20:10:52 -0700 (PDT) X-Spam-Level: ** Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Mon, 09 Oct 2023 22:43:59 +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. > > ethtool_sprintf() is designed specifically for get_strings() usage. > Let's replace strncpy in favor of this more robust and easier to > understand interface. > > [...] Here is the summary with links: - net: dsa: realtek: rtl8365mb: replace deprecated strncpy with ethtool_sprintf https://git.kernel.org/netdev/net-next/c/e5f061d5e340 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html