Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1592416rdb; Wed, 20 Sep 2023 13:41:25 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFXh04bCEuxQnabOi+l9OeNlLKzENijw0W/qNODUbVFVPowMhqNJZnqqHLPU59Ur4E2FBgS X-Received: by 2002:a05:6a20:8e1c:b0:15a:1817:c493 with SMTP id y28-20020a056a208e1c00b0015a1817c493mr4014517pzj.39.1695242485297; Wed, 20 Sep 2023 13:41:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695242485; cv=none; d=google.com; s=arc-20160816; b=WHcm5ms2C4azIlieZLtfo2avbG9rJm9vz7s8q6N7nL9JsYUe7i8/eWnV20z3j+Pxji f4SXAkOV0O1JylDL8qcbncothTWxGVZHHhgczxfd+3YixGaZIQFCFKJqLqhKWzymiEuQ OFvPL3r1LYvQhctNlTtPyCqFbaAzXKiMJiHWpUEa48ebVTK/AO5eR6d2S/FlNu3+twdM K1sH+3tr0B5MTNjVhRGL55yjfkTXPX0GjadJgmkd07BudqIFqPiv3V2h+A7jmLl5THqZ dhEGRxVTawM/RRfTQEa5NiYRe6TtcFG4kRVi9lHRnWnMgfIiaYESu8g2oZPo28pInBQH g9CA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=1OJjSOe0c5+VBsdczdvcQDiaodpJJ0J8iHVT39RkH7Q=; fh=iM4H6nkzlfsrWksVC6hIPzAn8e6Tj9VHT11mdMHTaRc=; b=dLkaH+J5Q6WZ0hNwHl47ewVa1s2qwkrVgeH5ATqMZWdKAYcHnPMv6C12h0TFa9YPd6 NZkcdpBHklLqmNFOGYT2Qp2p1lyoE0NSmn5JtG4yDsRXOZ2nqJV73Fh7IRHYoeVrztsN nTBGWLNOs3gqYaNC8k9F3rF67Qozn7cOB/+MvAsFF3vyQgjM7kR4h8Lgw4EDnyDScd6R sH6VLxnqspWNnBgPa5eZjTGkLAkb2e1WPrHCHtQL4fDCe5513DHuSt/X6wW2TupLSUvR S1N7EaOu76AdJa8rSa6QClM3PdtZUNhXC/YAnvqMbnY9Qft3E4JewgHcphK4dn4scLxT v51w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=F1enXJ2s; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id u3-20020a170902e5c300b001bf5753e0ccsi13341401plf.119.2023.09.20.13.41.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 13:41:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=F1enXJ2s; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 3D62781F1E91; Wed, 20 Sep 2023 05:55:10 -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 S234745AbjITMzJ (ORCPT + 99 others); Wed, 20 Sep 2023 08:55:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234620AbjITMzI (ORCPT ); Wed, 20 Sep 2023 08:55:08 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB90E83; Wed, 20 Sep 2023 05:54:58 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 38KCspnT129861; Wed, 20 Sep 2023 07:54:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1695214491; bh=1OJjSOe0c5+VBsdczdvcQDiaodpJJ0J8iHVT39RkH7Q=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=F1enXJ2sCqS6L13VGxOMzufLPygaMC6jtpZNxfLZxd2eB7+jx+3z+zR4H8968nYNY huYzO48NMbO7gTRPJwFqDw4mn326BE4iBI2SlJJFFlWfhV5gWcZVrw+o04fkav1r6c 5XVkWWsMaxJfCP50GbDdih6OCMh8trGfmCtnspzQ= Received: from DFLE100.ent.ti.com (dfle100.ent.ti.com [10.64.6.21]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 38KCspWn009848 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 20 Sep 2023 07:54:51 -0500 Received: from DFLE102.ent.ti.com (10.64.6.23) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 20 Sep 2023 07:54:50 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Wed, 20 Sep 2023 07:54:50 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 38KCsoLU103555; Wed, 20 Sep 2023 07:54:50 -0500 From: Nishanth Menon To: Tero Kristo , Santosh Shilimkar , Justin Stitt CC: Nishanth Menon , , , Subject: Re: [PATCH] firmware: ti_sci: refactor deprecated strncpy Date: Wed, 20 Sep 2023 07:54:49 -0500 Message-ID: <169521447378.1522316.16321283816653435515.b4-ty@ti.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230913-strncpy-drivers-firmware-ti_sci-c-v1-1-740db471110d@google.com> References: <20230913-strncpy-drivers-firmware-ti_sci-c-v1-1-740db471110d@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, 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]); Wed, 20 Sep 2023 05:55:10 -0700 (PDT) Hi Justin Stitt, On Wed, 13 Sep 2023 20:23:02 +0000, Justin Stitt wrote: > `strncpy` is deprecated for use on NUL-terminated destination strings [1]. > > 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. > > [...] I have applied the following to branch ti-drivers-soc-next on [1]. Thank you! [1/1] firmware: ti_sci: refactor deprecated strncpy commit: d8cce0d5ba4a3157a7a549b9623d1ffc5820ef92 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent up the chain during the next merge window (or sooner if it is a relevant bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. [1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D