From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9188FC531DC for ; Fri, 16 Aug 2024 15:22:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc: To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=UzdhSRqkN6x0bdVd1ayuwU2sBZB+TA/sVQH7x2OY2Zc=; b=ajILrNkcfYUNFkzvD24mnWYOtJ 0MH4bX2ZGnrq96HHE8YCC0R8jSL6mQ7I3mQKMYoR0R7N15tX57jsnuqzgsYVKOv6H8KnUXoOAzSJH 4YsRwY+a5/GJHTzT3j/TFvSXd6RqiV7tBtELshYpi/eXTxy/BN6uQ7Bvz4IJZ/iRD3cFlM7geUDnn lNNAuwQ7jYlGEgEXH6YCr/av9XBhOanAmwesoLXDIfFFsXISrMhCccUg+95lrl4JLvd5LNKBq26sj v8P4nBDENvpjLWfK2sBUSRInoG2yVq/tlXxT6hbeRNQjsSzVwZ7QBmiy+pbIoMSjocdvfNAEBHTYh Y7u+owhw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1seymo-0000000DMuc-26R9; Fri, 16 Aug 2024 15:22:42 +0000 Received: from sin.source.kernel.org ([2604:1380:40e1:4800::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1seygt-0000000DLYM-2vAW for linux-arm-kernel@lists.infradead.org; Fri, 16 Aug 2024 15:16:37 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id D72E0CE203B; Fri, 16 Aug 2024 15:16:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 06C81C4AF0F; Fri, 16 Aug 2024 15:16:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1723821393; bh=xIyE9SEfcQYZTbYlOOYYUjkFYLyJNpYbBdhgsnKvB4k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nExxfuLlQC+Z/zXJFnBv3wfhOoJhCMmH2zQwf/vt4YOnkcTjDgILh+mTU+U6uI1uz ov6+jNs8f6xD+4VZkx0T8ftbUwZN/KufWe/bRmpf5blVU/YPckxGHM85/IWkcI+tGy m7uGsI7PPzJc5stSpLKHXqA0SqYVsXgB+DOzuo6Uc5b8W4Dl2LJtDXsQVKVnIhW2t5 y5SoQFZmQZ/dOQ3Ocnr0noCZdczLvCaPRclav1E49RmBTK80MEFIe2rpNgC4ZLoKZF PxZaLtv1pJLpuAXBuOct1RSka++hWp61hHRp0cTdOs45kQ/O09W/sRN1Hmq7FK+L+l QAXuMzfsYBfIg== From: Will Deacon To: Mark Rutland , "Rob Herring (Arm)" Cc: catalin.marinas@arm.com, kernel-team@android.com, Will Deacon , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] perf: arm_pmu: Use of_property_present() Date: Fri, 16 Aug 2024 16:15:59 +0100 Message-Id: <172381010195.133769.6140795913867011503.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20240731191312.1710417-15-robh@kernel.org> References: <20240731191312.1710417-15-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240816_081636_031867_8E893E1A X-CRM114-Status: UNSURE ( 9.10 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, 31 Jul 2024 13:12:53 -0600, Rob Herring (Arm) wrote: > Use of_property_present() to test for property presence rather than > of_find_property(). This is part of a larger effort to remove callers > of of_find_property() and similar functions. of_find_property() leaks > the DT struct property and data pointers which is a problem for > dynamically allocated nodes which may be freed. > > > [...] Applied to will (for-next/perf), thanks! [1/1] perf: arm_pmu: Use of_property_present() https://git.kernel.org/will/c/48b035121a56 Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev