Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp1291048rdg; Fri, 13 Oct 2023 17:31:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHoDl28kGjYEYQ3O1qjaqLEEVTyQdHIBP4h7ddh2yf5F5cJcITTf7Qx5IjAZ4OWVay2KSBM X-Received: by 2002:a05:6a21:1a6:b0:16b:afc2:3b69 with SMTP id le38-20020a056a2101a600b0016bafc23b69mr25109768pzb.36.1697243469813; Fri, 13 Oct 2023 17:31:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697243469; cv=none; d=google.com; s=arc-20160816; b=faeQ2KMJiaTGSVLOwK1p8bEp+p9EQzNwVEvZmMhMvA+I31w8La8Wq/xzAJYxXfbymf AXXZA8FQUh+u8rr4jCLM4AWbItDFkxfJ4h2iuD0uKzOefTJTzqdx1Y9utBc5VOmsxbbj 3CMUd5+rzuuf+c0tOhW2Ih5R7lH6FPkGQaNxKCpHJjsq5OL8FZExJOo1qSKV3WewCXBH xFEeJ+VUaxVStluQcjTVNK3XmORqFR+beIhcM9V2jxY6Wzb01d2aWB3LO3rgHmDpY8Ir Za5JvSwIGsg0VMvdVLxvS/r+PPpUtmApgswTJDNq4YUe2H3LStGN0/VOOxP5PtJ6XyCx AIdA== 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=eR+7oK8GTNlEol4U+LmpMyF59Ye2MjtF5GcauRn3wd0=; fh=My2S9Ph91HeK/IZU8oAlXnPnKKaMcapLwU5bw/4FS8w=; b=WKgZKXfMBcWTphW7q0pW2e6SBTse9EWPwGZ3qzlHMeoCF01M3s7TblwT/xSyNYdOV7 VqviZriGLPjV1mAafapzhqGstWYMt2Gzj9b3QvGh1H277N+SEK1zcYsdrDcRLBFwR28P lrpTjI+8QjdZHCFjBPezzO3T0prC52WbxVXtyTm7jZ+McBlNNGEfYG/BHuN4OGYnEFP+ MfeOLGRzA1E2n+qCjTv4f/HW7f0u/iSrN8v/ZkNnS+ejbuUP2ZdxO+wBfDxobuoP0E6/ X/iy8fpDJRUq5FFiBgItITYDL1ajwOCtvd1iK2+wyVFXN1XvasvVtUupel1Dn7pDZY3V mYDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=J8KXxVtr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id u7-20020a170903124700b001c3c94d212fsi6040859plh.97.2023.10.13.17.31.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 17:31:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=J8KXxVtr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (Postfix) with ESMTP id 1107A80C77A8; Fri, 13 Oct 2023 17:30:49 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232579AbjJNAa3 (ORCPT + 99 others); Fri, 13 Oct 2023 20:30:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229958AbjJNAa2 (ORCPT ); Fri, 13 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 8C78FC9; Fri, 13 Oct 2023 17:30:27 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPS id 11923C433C9; 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=Sc9W8OXHyJj8/6hKSufokis8j739xxmwqoZ1WCdjwMk=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=J8KXxVtrPaVulk18GB8r/MCiIiuCxJAfaHYW6cHQOBFBElp38dTD2UAx4Y+zbRY+y 4QDfBmQHKU//BRjsrUKwnE8WlaaWnZuJUS0iN71yCZiaDRKsuJSTS5fAcs5FDVOD0a /3OiS1E4hJwfrCe29FFLGT2NCjf+H8yBr3o4iZ+1o3PPnTOnil99sYUy4C0NUv01mX M77Ev0rfyf/MWlZFf/Sg4cTVZuNYMDBT5ROJtvHUdCwhOv8kQ5XsgCQIlKEgxBccPu Ecrs0JgTWn7Ow/8iaectUD7ALrZJ/u9dnwt5RlkiJ7zkABYTreN7bW7j7G4HoOZSZ5 dOWnTKZxpKvcg== 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 E337FE1F66B; Sat, 14 Oct 2023 00:30:26 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] net/mlx4_core: replace deprecated strncpy with strscpy From: patchwork-bot+netdevbpf@kernel.org Message-Id: <169724342692.24435.15302817559300342474.git-patchwork-notify@kernel.org> Date: Sat, 14 Oct 2023 00:30:26 +0000 References: <20231011-strncpy-drivers-net-ethernet-mellanox-mlx4-fw-c-v1-1-4d7b5d34c933@google.com> In-Reply-To: <20231011-strncpy-drivers-net-ethernet-mellanox-mlx4-fw-c-v1-1-4d7b5d34c933@google.com> To: Justin Stitt Cc: tariqt@nvidia.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-rdma@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 fry.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 (fry.vger.email [0.0.0.0]); Fri, 13 Oct 2023 17:30:49 -0700 (PDT) Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Wed, 11 Oct 2023 21:04:37 +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 `dst` to be NUL-terminated based on its use with format > strings: > | mlx4_dbg(dev, "Reporting Driver Version to FW: %s\n", dst); > > [...] Here is the summary with links: - net/mlx4_core: replace deprecated strncpy with strscpy https://git.kernel.org/netdev/net-next/c/88fca39b660b You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html