Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp3578642rdb; Sun, 10 Dec 2023 11:11:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IGJ6MAX46rc/2cpxtB8WbhM9+i6zUgyij613wQaOaFcjc//yVDyfTjNRDNUV7YR7N2H00qL X-Received: by 2002:a05:6e02:1605:b0:35d:7ac7:359c with SMTP id t5-20020a056e02160500b0035d7ac7359cmr7121636ilu.40.1702235485600; Sun, 10 Dec 2023 11:11:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702235485; cv=none; d=google.com; s=arc-20160816; b=SIO+jLWGIEg45wxQQtw76adraPpcKyDVGupLUoEey4qerS1EGT+RJLiLTJXbXDqnKr rREuPb5GJ4ZN5yLD1MYMqM9a0RGAC9VJB80oyZutYxsSyPFYyEDHY6ovBAnglAYB59HJ KWmH6Ow3ZZSgtbnGL3rC3vCUQZXp7NJ3liXTUgd8EqVTvuhWhDrwFlpBlPtyY53KNatn KgJS8BKD4q3y8uWDwZRYP8rdHKt0T5Hc/z7fA1pjyCLs8NBbGMeIVoQvh/Q60nhUukqZ PbECcufpzLudJzprTyheXR7wUTMg0X783QOw6UpAlQj6zSl3VS3urbi+DXxgbpvLQUBQ sVkA== 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=R/w9DSk4dOEq+XWY4rw8BfY0CGYeC5fado99tSKmUac=; fh=yezmEHJn0iHkAGPOv5ENZmKzQzU+gM4n3POoN1pZsuo=; b=yksAUOWW/f2z/oWt4Xc6kt261oIW9Oi2QV0ErITB8zxqlEugf8eweN8eFSupMbAJ4M 2Xn6BOScItzCgSbhwnZZ/xm1XUvY8zsuZeES4WU1sg3/WXRPrJ15E/ZQcLPSnLnGascP prBAkQLrTK5P06FN4oc2AhzCE3eUeLFAsQYpFL/dd9YjPiFdTPb2NxdjxD+/TnDPtJRs siHDHcvcKY/Pwh5MvvDTVfAH7w44usTiZP9pIlr23/gxgykRBmtgkt/SgcG95Ymy7h15 WJ/V0qGhjHguvfGOefopVEuol+fYfDWpJQ7EtZej/qtzRg2Fm/nZQldn2Qp5ZmGiC438 hiug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oIvC1+1r; 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 x19-20020a170902b41300b001d0c442d76dsi4853690plr.246.2023.12.10.11.11.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Dec 2023 11:11:25 -0800 (PST) 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=oIvC1+1r; 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 466DB807D415; Sun, 10 Dec 2023 11:10:43 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231837AbjLJTKU (ORCPT + 99 others); Sun, 10 Dec 2023 14:10:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231444AbjLJTKT (ORCPT ); Sun, 10 Dec 2023 14:10:19 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08FB1E8 for ; Sun, 10 Dec 2023 11:10:24 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPS id 6FAD5C433C8; Sun, 10 Dec 2023 19:10:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702235424; bh=QFEYl2GTyzHL8G65W9eJVUzDQs+Qo+xNhychBgwOuYo=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=oIvC1+1r85XwLS2pRdluom39HUorF+6mdub69rN1BLGNJnrx6AC5crfMk0ANe14lE PGSNqdRl7pa23j+EWBx8fPaoO5Oy0GrNaJC+GATP6L1l8K+rn0g4dQC/Bujz8rE+W6 QcRr//SRqJYnnJLTW4ADFTTJBTRF6/ql+KGXH866vfgnE6IduQzXfFm7GzzQE0UE6h Z3b/DoI73uMOzURoP2BiKcZjyIK+Y4YMVj+F6rFOK0xB2U/wyp/eH/EEMvZ0GXgbKy BEgzt1xEwtfMi4Mol3lbDIE+hDC6n6sIpG5jkZAv+eGR6hIAdXuPUOPMoEV1twaoRh 8PWtYEKDA5/qw== 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 557A5DD4F1D; Sun, 10 Dec 2023 19:10:24 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v2] net: mdio_bus: replace deprecated strncpy with strscpy From: patchwork-bot+netdevbpf@kernel.org Message-Id: <170223542434.32670.6160588807079213491.git-patchwork-notify@kernel.org> Date: Sun, 10 Dec 2023 19:10:24 +0000 References: <20231207-strncpy-drivers-net-phy-mdio_bus-c-v2-1-fbe941fff345@google.com> In-Reply-To: <20231207-strncpy-drivers-net-phy-mdio_bus-c-v2-1-fbe941fff345@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=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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]); Sun, 10 Dec 2023 11:10:43 -0800 (PST) Hello: This patch was applied to netdev/net-next.git (main) by David S. Miller : On Thu, 07 Dec 2023 21:57:50 +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 mdiodev->modalias to be NUL-terminated based on its usage with > strcmp(): > | return strcmp(mdiodev->modalias, drv->name) == 0; > > [...] Here is the summary with links: - [v2] net: mdio_bus: replace deprecated strncpy with strscpy https://git.kernel.org/netdev/net-next/c/1674110c0dd4 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html