Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp1171395rdg; Wed, 11 Oct 2023 17:30:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEHBwAlY5X/okA7P74k3/BevnpZ4A3zAt6dpO5hxfCd05O3bY+7m3Cmt1r+M7dsENBu/80m X-Received: by 2002:a05:6a00:3191:b0:696:d529:b4ed with SMTP id bj17-20020a056a00319100b00696d529b4edmr19401649pfb.33.1697070658432; Wed, 11 Oct 2023 17:30:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697070658; cv=none; d=google.com; s=arc-20160816; b=oaXXElMJ/oMwlZVmnTfF46akNa0ujqMYZoKraluwTVC+KMxJZ4SBx4kSxCCswgm8cC 0W3PoSHZ+wFAls5z43xcqZREP6X0IlQcxNDFw+d34130/OZSMst+zMC8D4oN/UNshQQq DWUNnQy7ylWzkx5IyeOMXu7WFa2AR9HShdsrGlyDPfQ+zuVxj4UeWnQ0+hCVLVkPJaK7 kIkgAHTMzJBA2aVmeiAOQVUDy0ZIHGZ/IdWbznRlaP2vEEXfOQjCVRSoPfFrZwMFacyn K6SlQBR58FyP4ceILGQxhLcmwQujjK5+SuNIbJ6K+Y9QqKVAHlvirCKF4qXk4DIrsJ99 6pvA== 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=gyEL2P0zESGSKVS0cSaZ1IlmMty9BxAWnwWCEPe7+U0=; fh=sfAdi0nbX+v5ogMUcARMjDVa445ddbEoOCgucdecMeE=; b=AhJ+HObNLVdD7fCJlioDDUkO3hg+4nCKA7i3KnoWKqI5Co9dJ7HKL5cfBv9ugRJFbq gsyJzYKucIXcY8DCECwS2AUGFnEGh39mxm+GL8mWJhq/vY6XX3xFld6uTlURr6WIJhd5 mZXNkeKCt/d8Q3d69a/pc4HVkk/BZGMG8YHuODd8oEVpskJrMhxgtsiBhgelu7JdQtNn uf2Da68MxHPaWiALtnmHwso6rqW67JaZ5XTGNeMYu3q6FGTlTYT+s2dTl38Jgjm50tDX kgJIjsG51HE/ZOpUamjEjV/QVMYrtM9L9pCGM5FL7pmywnSYy80ySsYHwbfXNJl+6UcK qevQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OIbMzeaF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id n5-20020a63f805000000b0058986c61bb6si868724pgh.706.2023.10.11.17.30.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 17:30:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OIbMzeaF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (Postfix) with ESMTP id 279518250277; Wed, 11 Oct 2023 17:30:49 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376631AbjJLAaa (ORCPT + 99 others); Wed, 11 Oct 2023 20:30:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233860AbjJLAa1 (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 16DF298 for ; Wed, 11 Oct 2023 17:30:26 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPS id A59E3C43397; 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=51tfv3kMjBGFcDAc9LOdPgHNhgvubjVRO3ku7iHFAX0=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=OIbMzeaFADSfHFDUuZnm3TXeyFpyzFQa8nPFMovLi6AKX3fexivxBQdA84p8cWRQd 58+KAzs7gV/+/w7oq2l9anaxlWcS5cdG1vQOEikVEx76mzKx0LQVzl1nyepk+LH+Mx B0d4pvj/j+6H9gHSSZS5Hn8/AHI+QY/vu2zAtmo+29oaJSZI6VqYcSJOtlOIl4I4KN oL6cKas+G0IIERb2WADGf5vY/Lfgkb9KRf8nruq9od6Iw6CM97u5FGX+GxSxDTTcVT meuFRIPcocSLvfBe6ZqMXf5SJy+H3UievbpkqMT21FbQSHBPFLwdDGdl6QX20dalK4 88knMj6OPtzjw== 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 8F904C595C4; 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: dsa: mt7530: replace deprecated strncpy with ethtool_sprintf From: patchwork-bot+netdevbpf@kernel.org Message-Id: <169707062558.15864.9019771433715033154.git-patchwork-notify@kernel.org> Date: Thu, 12 Oct 2023 00:30:25 +0000 References: <20231009-strncpy-drivers-net-dsa-mt7530-c-v1-1-ec6677a6436a@google.com> In-Reply-To: <20231009-strncpy-drivers-net-dsa-mt7530-c-v1-1-ec6677a6436a@google.com> To: Justin Stitt Cc: arinc.unal@arinc9.com, daniel@makrotopia.org, Landen.Chao@mediatek.com, dqfext@gmail.com, sean.wang@mediatek.com, andrew@lunn.ch, f.fainelli@gmail.com, olteanv@gmail.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Wed, 11 Oct 2023 17:30:50 -0700 (PDT) X-Spam-Level: ** Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Mon, 09 Oct 2023 18:29: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. > > 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: mt7530: replace deprecated strncpy with ethtool_sprintf https://git.kernel.org/netdev/net-next/c/ac49b992578d You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html