Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp1291294rdg; Fri, 13 Oct 2023 17:31:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG4WBeokfklQtsvd84a/IQwh8rMRa/xoSS/oDTKji2VV/vbHKUqibf9fgKD05bc4P5UBPA0 X-Received: by 2002:a05:6358:9485:b0:135:46d9:12f7 with SMTP id i5-20020a056358948500b0013546d912f7mr26628396rwb.26.1697243515660; Fri, 13 Oct 2023 17:31:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697243515; cv=none; d=google.com; s=arc-20160816; b=hdiR4QcSnvUdwn8JK4sTSfRj1GHOdpIQ5dTZ0aZqz9c/st0Bd2Z21v5yOf6n8ZLQNz Fq9kqxiNb+aCLZwe8q+adLNYWwkCUD4OlylNTaO8h5aj8GXm7oukb0HH5RwPv73OfnAa qNy1O7PZTwvYjrt68j13EDIzJSi0rp25wmARx5nOcwzPB3SrFldtOyt/+Zj9BJOJLX6J GnQsvtiO2HfbVy2MSb02+tFB1+QQLHYYt4rmcD+dgrVdygQ+m0eTvZa2nIBgKbLw5vyu /DgRgG8S1ZCXyTnX1dUPRTFAyGh7XG7OOqvmdyTP6vjVA8UrRF+/v/ctaq9mM3S0n+1i Tu+Q== 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=XTi7Xi01yi4YDB+LUeeT2OecIYJ8rV31AjxwWj0IX7o=; fh=yezmEHJn0iHkAGPOv5ENZmKzQzU+gM4n3POoN1pZsuo=; b=xtXbQTN0kPo4XODjZ4Kj8M8Vynszeuvyi5LGFV1iDiveRJ3AsJjQO0qf+Lwny6bRwc yJDA6h92IkOoMSeyCgqT9XoXhjIPE1o95GjhlhciJAmozCaOQBpGBXGURURnmOTfX5Xk 1QMNLUuRMQtf1RF1JulgowfNXEaKEy6jL7JTZmRHKCKoaaa9UovOUEPdyXxdN3IYhxql sGsLHofRgt9fGzRpDdiJz10Gme+UPyZz9a3DKpLXCyBNn4lbcjGbOF25UA5BVBiewU9M xUeqq9PuIHLgSHuC7u5c0AKj5zRzQbQu5mwosnbt5DhnFrRJmqKOVA0IGovLmiBHY5xR 1wbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Eay5vYTJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id a10-20020a63cd4a000000b00578a2da0e4bsi5877924pgj.302.2023.10.13.17.31.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 17:31:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Eay5vYTJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (Postfix) with ESMTP id 7742A8061155; Fri, 13 Oct 2023 17:30:55 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232783AbjJNAal (ORCPT + 99 others); Fri, 13 Oct 2023 20:30:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232559AbjJNAa3 (ORCPT ); Fri, 13 Oct 2023 20:30:29 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6010BC2 for ; Fri, 13 Oct 2023 17:30:28 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPS id 35C51C4339A; Sat, 14 Oct 2023 00:30:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697243427; bh=qXHcb+8ArQUczUJqaU2Tky+9gId0V5ZhXHayMa6wpfA=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=Eay5vYTJTdIAwdF69vMwbD/Nm3g9UzhqHBA5b/6blwgekYREvJfMAphHN7/mxutCZ 7q3NDXWqUKl5ATZ8TCZWrt639W3pez389oP+ZfBm3fDuknPufwgU5AMFBLsPn9Ma4/ BYxkzQs1vz4lq4uNMmSjmb0G2TZ5MDbQVcryN/aYqQ2F6wQOxcVsItRIgo3ZuvAqZ5 00etRf00Jzz23f/78mTNmHLZJk32J4vDU+3peDcK40ynbWtBFyq5NkESimYI8f6hYX KzK/oHBVTuDdsTH3cvEdwY2G5CXmUwU/jxI13krd+j72vfiJSr+D02s0SumsRnTYmC qGyrRvsmjSsTg== 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 0BE08E1F66E; Sat, 14 Oct 2023 00:30:27 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] net: phy: tja11xx: replace deprecated strncpy with ethtool_sprintf From: patchwork-bot+netdevbpf@kernel.org Message-Id: <169724342704.24435.10662096936331983951.git-patchwork-notify@kernel.org> Date: Sat, 14 Oct 2023 00:30:27 +0000 References: <20231012-strncpy-drivers-net-phy-nxp-tja11xx-c-v1-1-5ad6c9dff5c4@google.com> In-Reply-To: <20231012-strncpy-drivers-net-phy-nxp-tja11xx-c-v1-1-5ad6c9dff5c4@google.com> To: Justin Stitt Cc: andrew@lunn.ch, hkallweit1@gmail.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.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Fri, 13 Oct 2023 17:30:55 -0700 (PDT) Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Thu, 12 Oct 2023 22:25:12 +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 dedicated helper function. > > [...] Here is the summary with links: - net: phy: tja11xx: replace deprecated strncpy with ethtool_sprintf https://git.kernel.org/netdev/net-next/c/c3983d5e99b2 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html