Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp1370964rdh; Fri, 24 Nov 2023 10:50:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IGLj2iV/THaiADF85D4ZuHoDp/FGxevMaBJI44NT03GtMBvq7dONh2242Rh5I2nvEk8fPje X-Received: by 2002:a05:6a20:43a6:b0:187:9f36:c30a with SMTP id i38-20020a056a2043a600b001879f36c30amr4488810pzl.39.1700851822564; Fri, 24 Nov 2023 10:50:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700851822; cv=none; d=google.com; s=arc-20160816; b=PemFw236ifyCuIFWJppFlFYjbnOR31WknKI2UMhk+mlWRT0N5Z0owx3QuHfEKnMETK gVudhyn0xswcCc2Z/au7pNNMH1hSq4aktfMnHT9bP42hb7giUAo/0GjykQfH5LXPGuus YwCaYZnXiMku18/+uqrikoGx7/2zBK+BDwm1LstD8Zi/oaUMXlBE8zP3ntzjUj0jNjAs h6WpxdAGxuODavta4xG2cZGmCDZ3nq/evsGQxyjYCBHDsF/UztBmbLloB7N9H+1uEXk+ 0RTKMMiVjABHeq8hlMgWoAlPyk/4eADusHORacZaJBr+euTsLqSJ10B5SyW/fKmUUiPc EiaA== 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=N0YVMRCXTOk7PPT1YzjO6mozGzr/3NgvaOoL5ltl/s0=; fh=6tucmMYnJ45KckdFj+IWTE02zFJ6hzzcCi95dyDExok=; b=0sjwl8Xkz1PtBMYO9TuBNUB0FlHVup1uOBqdJY1waRlo57DBDUjFlX9Ib6moXxlx9g JNh3x4Unf9zQDCYhaLhd5IH7Jn70PhTHPyJahKrVIo6ZiSGMMovkMa29c2F/Nr1YatiZ O8W/oC+Z37HL0J9NZa5dpt7GYNcFBWpEtZ3yXnn5LqsupQcgGDsj1XvEAXel9UHQJ7zH i+qnxLbFNP2SNvMveF3+fBaLlwyoFX9NAM/6x0a5ml4vB5vuKO7E+QSh/4vdyys/pgtP nbOzXSUHM3KFxALFij5LWjy7CFDzSSmLvnASIXuVN5SaN/KB818+QjaaOKeuYOcHuXbT l+3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=bPXUtVgA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id fh22-20020a17090b035600b0026305080a6fsi4099742pjb.63.2023.11.24.10.50.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Nov 2023 10:50:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=bPXUtVgA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (Postfix) with ESMTP id CD81F8226348; Fri, 24 Nov 2023 10:50:19 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231524AbjKXSt6 (ORCPT + 99 others); Fri, 24 Nov 2023 13:49:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231522AbjKXSt5 (ORCPT ); Fri, 24 Nov 2023 13:49:57 -0500 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 859D826A3; Fri, 24 Nov 2023 10:50:00 -0800 (PST) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3AOInp7T082303; Fri, 24 Nov 2023 12:49:51 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1700851791; bh=N0YVMRCXTOk7PPT1YzjO6mozGzr/3NgvaOoL5ltl/s0=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=bPXUtVgA4hNKku8tewUDThBvBt2PsRfitsZk26eXj7QILUt/IJ4ZzUFeY3N5be3Lv IsO7ry5qDaQcDTbB222RGozAnp4QDlLGqgd772JQVyU5h5cYuJha587NCd3CK9UKMO KoVdpyQUClW9/eS6B1ct3Qf6I1b7xafNJ5vutRyY= Received: from DLEE105.ent.ti.com (dlee105.ent.ti.com [157.170.170.35]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3AOInpXF078255 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 24 Nov 2023 12:49:51 -0600 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 24 Nov 2023 12:49:50 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE101.ent.ti.com (157.170.170.31) 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; Fri, 24 Nov 2023 12:49:50 -0600 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3AOInogj030861; Fri, 24 Nov 2023 12:49:50 -0600 From: Nishanth Menon To: Tero Kristo , Santosh Shilimkar , Christophe JAILLET CC: Nishanth Menon , , , Tero Kristo , Subject: Re: [PATCH v2] firmware: ti_sci: Fix an off-by-one in ti_sci_debugfs_create() Date: Fri, 24 Nov 2023 12:49:49 -0600 Message-ID: <170085178298.327808.15170603677732456646.b4-ty@ti.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <7158db0a4d7b19855ddd542ec61b666973aad8dc.1698660720.git.christophe.jaillet@wanadoo.fr> References: <7158db0a4d7b19855ddd542ec61b666973aad8dc.1698660720.git.christophe.jaillet@wanadoo.fr> 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,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 agentk.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 (agentk.vger.email [0.0.0.0]); Fri, 24 Nov 2023 10:50:20 -0800 (PST) Hi Christophe JAILLET, On Mon, 30 Oct 2023 11:12:26 +0100, Christophe JAILLET wrote: > The ending NULL is not taken into account by strncat(), so switch to > snprintf() to correctly build 'debug_name'. > > Using snprintf() also makes the code more readable. > > I have applied the following to branch ti-drivers-soc-next on [1]. Thank you! [1/1] firmware: ti_sci: Fix an off-by-one in ti_sci_debugfs_create() commit: 964946b88887089f447a9b6a28c39ee97dc76360 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