Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp683566rdb; Fri, 6 Oct 2023 16:02:37 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFEcd1gzvkD9wA7J0fEbUI/uS1SOlFWBZ7jx4WKX/EBRHkqqi2IahtPtl0KsPtVY0+sYd9R X-Received: by 2002:a05:6358:7e07:b0:142:fba8:dcfc with SMTP id o7-20020a0563587e0700b00142fba8dcfcmr11077010rwm.16.1696633357316; Fri, 06 Oct 2023 16:02:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696633357; cv=none; d=google.com; s=arc-20160816; b=Z4ZAKzq7xzRPw8KropGeY4o888h4bAZXFJ6dE+3QVa7xgbAJGOW5VY8/px9vMGRLUu M2Q5lACOK1fyjGxZ5AeCOuWXfDrsSMQBKm5A8YXUZ31ima85b5/SZTmYgj+T+c+8cl85 JKLuYnC/uGFjUepjYdfyWFIuFWu+CrJN8paSGq345dlmABvFpV1zkPJKZgjSZSd01zaN IFPy2w1L4A7lOqyQDmL4rdbFCh1HlhjwLy3Ia9xBGU1Sp3QvmqRUId/XMJ0DGh3A4dyC fw+wrSWsFN3EMVvEgz11RNctAtr5ItpzxWWoPvbLCY7ulnSoDLmhntOUGoNM22yfV1Zn U8fg== 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=2NrgfNgR4ej0MAolYADTPY1mG6j3jxcjj1L85mAMnzI=; fh=iFJfuC7LZwKPkakOIW2Jyi74pvRE8oD/Xscde4Wxajk=; b=WDJVt9CJfhd8B8Bg9bISEA7xvQ64pI2YExr2jhl6xzUHfJMxoy12KUowA1eoaEdZeJ UH1Xkrldk61U+iZwrJQwlUkgOcwynmz1au+b5158iui/0XBP9RlxYCpIrwEwST1T1vRr 5xqgzwJ5fixuWt6/W4HfL8Xmrs7XtMfcF3AbqmUjSPJ2lXm5dM3GilrF88McVGtS+jbC 5qeqJtgL1v5YDWM1AodLMwrFPdXh10PcOFSyfNAgLO1Frk7WTAldqLumJQugLMcuR85m A9XEw6UX9pxdrzmd+N5xyXXmWOhDHokH1SCUg9m0WitoVrppgVQu3ru9reRR6x++ejJr fGxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=W1wkirzB; 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 be3-20020a656e43000000b005897bfc2ed1si1572991pgb.215.2023.10.06.16.02.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 16:02:37 -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=W1wkirzB; 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 56CE680B8F58; Fri, 6 Oct 2023 16:01:11 -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 S233920AbjJFXAk (ORCPT + 99 others); Fri, 6 Oct 2023 19:00:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233887AbjJFXA2 (ORCPT ); Fri, 6 Oct 2023 19:00:28 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E356CE for ; Fri, 6 Oct 2023 16:00:26 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPS id AFE5FC433C9; Fri, 6 Oct 2023 23:00:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696633225; bh=iLB3VidX86HI8t/MRFP3zlFGWfIYgbansv6PAp1fegI=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=W1wkirzBMzD6MWiBwPm00R3JmMBTwGUzUFdJ34m5RfSTFWcKzladtPhp86M5O9oQN pcwzJhRYrHuNlz6+vWiIEdyxkYM1miP7S2ksBHO/zb99mh37glWPvw6uEfuU7hDC0y an6B2pri4c7U2xk35w50c3GaqGRfvT78pxhpqUlFso0ftWg+0hlsCVnKqfN1mKENjg Y8paLSrEjpV0SbBiWPOGrx9aS679f4CoxeauUtZpnDABFiv9CwEFbTik2MYLfbiwpM bq7to5FN+Qn9XyeyjhFGvkHgHsg0Cq4Z3ODizrXV3K7fC8nPbx5hC2MtECgz8vZKjZ RXd22rxjVi4qA== 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 992ACE632D2; Fri, 6 Oct 2023 23:00:25 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] net: ax88796c: replace deprecated strncpy with strscpy From: patchwork-bot+netdevbpf@kernel.org Message-Id: <169663322561.31337.8103369640901650797.git-patchwork-notify@kernel.org> Date: Fri, 06 Oct 2023 23:00:25 +0000 References: <20231005-strncpy-drivers-net-ethernet-asix-ax88796c_ioctl-c-v1-1-6fafdc38b170@google.com> In-Reply-To: <20231005-strncpy-drivers-net-ethernet-asix-ax88796c_ioctl-c-v1-1-6fafdc38b170@google.com> To: Justin Stitt Cc: l.stelmach@samsung.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]); Fri, 06 Oct 2023 16:01:11 -0700 (PDT) X-Spam-Level: ** Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Thu, 05 Oct 2023 01:06:26 +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. > > A suitable replacement is `strscpy` [2] due to the fact that it > guarantees NUL-termination on the destination buffer without > unnecessarily NUL-padding. > > [...] Here is the summary with links: - net: ax88796c: replace deprecated strncpy with strscpy https://git.kernel.org/netdev/net-next/c/9c9e3ab20f35 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html