Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp2822420rdg; Mon, 16 Oct 2023 16:40:52 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGl/RIFMEHkiq1hJpSuHuDCajhlvtP9AhIwxxUXDe8BrY/QlMl9Kmg3sn1LQeegwP1o7EWR X-Received: by 2002:a05:6a21:7741:b0:17a:e32d:242d with SMTP id bc1-20020a056a21774100b0017ae32d242dmr527398pzc.35.1697499651876; Mon, 16 Oct 2023 16:40:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697499651; cv=none; d=google.com; s=arc-20160816; b=Gm+g0P0jrErflAVkQ6EErVuNI2nCl9ulCRyVJtnh2VJh1KnxzLxjNOQhEZUfCRbayD YRbOGaHv19J+VjB5ZbzA6jnN1JGSk71ahy7vqyNoaxpKLlprUD/kUL3e3EGU59t1b9v1 AafHdtcKVMiUjqQkTajj1UOteLzqZ4cUMnipOGBiRggfWbkVeseQeaevLeeqKk+EuKB0 8fZzqcwNWO6DqsHYXLc9cfoR2+e2qdXDXqVpp9IwhyNehbt2FC4LolFdzx/AdpjTVQ5f GOyvRQYV2BjEKOL74Lsjk+8ibAIORnV8cnBYnenQxT3bcGIguSqGL6zHStVfxRqiA2YS pstg== 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=p8OaiTqCCrQQgyF2P3qmMbIALZ6gcmMS8iFeIJqjMHE=; fh=V1o2MZ/JBeEvb7nZiWtRDxuppp4R1OIgl6fCS/PmI28=; b=xZ3cHFuL2jNhRi0w+hLrPlwGH0SsrtWHclLhVSJtLp4T/7YoeX55W8SwSyVW4egRKr YBt0Kwsi8Bng4GQbDh9Ya5IdHzp5CgjXlwCV7nrjwGhAS1fqDXlD9eZoIhtin9STV84X 8eWbL6/7VQ5xjM5QgwsnaDbQxVMeVccdHwWHiA8GNXzpJvlDOur09Qhz6q7GkPZGwvcb MHq6MYq6piVyZobFnlCj1rOJ26AiR78l7+fi15upysC0/OGOZP4/Nl3Xmyhzb+lO/f6o SnBlPHMaLFpOWy01396Z9tUuIz3KxWaPZOqC2xh+09+A2Y4Y5Kum+pOQHV/VMD+Xl1// JfOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=m5Ef6oGL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id v189-20020a6389c6000000b00565ec2a1e2asi407071pgd.760.2023.10.16.16.40.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 16:40:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=m5Ef6oGL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (Postfix) with ESMTP id 2E379806A3B7; Mon, 16 Oct 2023 16:40:48 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234246AbjJPXke (ORCPT + 99 others); Mon, 16 Oct 2023 19:40:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233835AbjJPXk1 (ORCPT ); Mon, 16 Oct 2023 19:40:27 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B8935AB for ; Mon, 16 Oct 2023 16:40:25 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPS id 4E746C43395; Mon, 16 Oct 2023 23:40:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697499625; bh=e7qgiujjUVa5yHpuG+b1NZk2F8mymAlM6GQvCqMJAV0=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=m5Ef6oGLnfHHPgFWyY4S1XxZP5p6jM5aLF44CzW4HJlmcNFwN+pVqG2sSAOYPJwGN CW8/GYBaNh1y4/Z4VG2bMye2peKektfi8a0o+I95imifDTHvxBbztu4qR2HnHc3+WY A2XsBXc9Qp2/sQHUvUoYuSyhJj4dol3BfVkNy5wd9xzM+CbxSRChr269Z00lilIxmZ LpuZmTTCU6H1V3S7krWAv9yxuj78EtreRxxEU4yFEtZLA9g/m22EZLjfW8FCyQ/RCg jNdEYZgHSuL0jH/OMvB+IrFf1jaQYDrRnkUL7eMpvEMaTVRnUDbbFIkZcbIpaiekAA evaaTQHvXEyew== 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 3561AC04E32; Mon, 16 Oct 2023 23:40:25 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] net: usb: replace deprecated strncpy with strscpy From: patchwork-bot+netdevbpf@kernel.org Message-Id: <169749962521.28594.9573819095136256613.git-patchwork-notify@kernel.org> Date: Mon, 16 Oct 2023 23:40:25 +0000 References: <20231012-strncpy-drivers-net-usb-sr9800-c-v1-1-5540832c8ec2@google.com> In-Reply-To: <20231012-strncpy-drivers-net-usb-sr9800-c-v1-1-5540832c8ec2@google.com> To: Justin Stitt Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, linux-usb@vger.kernel.org, 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 autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.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 (morse.vger.email [0.0.0.0]); Mon, 16 Oct 2023 16:40:48 -0700 (PDT) Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Thu, 12 Oct 2023 22:33:34 +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. > > Other implementations of .*get_drvinfo use strscpy so this patch brings > sr_get_drvinfo() in line as well: > > [...] Here is the summary with links: - net: usb: replace deprecated strncpy with strscpy https://git.kernel.org/netdev/net-next/c/1cfce8261d9c You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html