Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp1171624rdg; Wed, 11 Oct 2023 17:31:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGCa6btPlmgYuPvmdOICjNSF6aD3Nr36Av8FR7EM16O9IUi5TGg13cLhWxXc07YCrba/ycW X-Received: by 2002:a05:6a21:198:b0:157:e4c6:766a with SMTP id le24-20020a056a21019800b00157e4c6766amr25704424pzb.41.1697070692001; Wed, 11 Oct 2023 17:31:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697070691; cv=none; d=google.com; s=arc-20160816; b=fH3sUQyiURYhtVjUKAaWAUvkZtPlyt5GxissUdgbWqIt/2Nd/WD2CnlXFwRilgxL2o AoyEq2BHH4cuVSCFUDt4PVy+CEX8n/xTTSnqv+y9YWbgP1m1xhdfQB/EYAvTJDsTOdWK eoHN7QvcpHkU5EtacZn9MUsyilIByn00CSDNgi6JXFaXOWf4iJQRefIp/U9W3IjZTarZ ZWiGz2dFqj0XKH5Yz06URt+fz8MipllC9VB3vtzeWHjvra5DrwKW3MaH7IFEoUZetHrx KiqVHTt6KEc5svkrVU584zqc4JEbN43V4vwoe/FA8wVs8C8Gus/FWiDC060Y2BgVLU+9 Q7BQ== 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=vty1XkQ4DWLAGtaWTG5ppm2mcYymj98F77WKgIOsKWo=; fh=oF1uAlRXelvxVXN1Tc1EULFrB2eViUiSzmH7R/fcGx4=; b=qYiGvGfeJxtYFCAjSq+oheZt+shBv3/TOH2jzSAQUzG+GjLZ5maHcDiC6WUVirHkcS XERRoN5oKrRK4J3NpUY1uZ5K9eafppfjfRyefgM5vwZJMVHWpD881JvUbcMBrcUT+3VB WFvgrbxEwFhPZwJ+DWWxjI9QEm+BGBGpHAalHgfVQbG/i3P9pP+jF8a9OrX2YqITGZiF 9snDUtvTW6RI3XGMdvRPV/0UNXlO8xajjFkGMncR2QXUIjblUrnRz8iSk695xVT9YfBY CWMVh6FDgw7jlS28Y8aOqZIXPqEjV3QWKYdkO8BPTSeYUgLsEavPYQEriTb24JJfRHJS E2aQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eHbBrB+H; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id a4-20020a1709027d8400b001bf1005924csi820676plm.321.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 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eHbBrB+H; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 B63CE807CF72; Wed, 11 Oct 2023 17:30:57 -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 S235230AbjJLAac (ORCPT + 99 others); Wed, 11 Oct 2023 20:30:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376583AbjJLAa2 (ORCPT ); Wed, 11 Oct 2023 20:30:28 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69557B7 for ; Wed, 11 Oct 2023 17:30:26 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPS id E91E5C433BC; 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=1697070626; bh=ic4p5FL8H/WP6cBu+eSyU2CbFtqrAwAUjqHHScIInSI=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=eHbBrB+HGSkIEqg/nHyZD2Y/EQEc9ernguzbYLykDMDTDNwrlQNRDk1/EkoEb63gc f0QeGFZvov/tEQ+8wZGJqO8kbKCrNyPTSTMaYfn3bbg81r+Jmtbru3M9EU8+DXpsVy pjXdNV9uCxUuDBUnJZ1qYxk7SnFrdye9ijgXdz24fz5AK+L1zA09oJTYHMHxYdOmWk J3MIGDvseXy9tfmGE0ZIokUKyM91yVDTvpirudVz6jclG/ey9Hu3OplJ3KFQOS01xj AIkvQXpsmjAVfzzI9JrIHxnUOj1h9I5x6TNVna6+wWu+s7KvHgwjdZqBgstqJALAf1 1wQbIx3/fdHGw== 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 D64C9C595C5; 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: lantiq_gswip: replace deprecated strncpy with ethtool_sprintf From: patchwork-bot+netdevbpf@kernel.org Message-Id: <169707062587.15864.15415155248488674538.git-patchwork-notify@kernel.org> Date: Thu, 12 Oct 2023 00:30:25 +0000 References: <20231009-strncpy-drivers-net-dsa-lantiq_gswip-c-v1-1-d55a986a14cc@google.com> In-Reply-To: <20231009-strncpy-drivers-net-dsa-lantiq_gswip-c-v1-1-d55a986a14cc@google.com> To: Justin Stitt Cc: hauke@hauke-m.de, 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 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:58 -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:24:20 +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: lantiq_gswip: replace deprecated strncpy with ethtool_sprintf https://git.kernel.org/netdev/net-next/c/ed9417206de7 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html