Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1088134rwi; Wed, 19 Oct 2022 06:37:59 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6EwK32libsZsGtvOlpfqlaOMBAw3eb6wZc6iFXhvotVlvK4hVgdeIFT8ib3bd769X7PUTo X-Received: by 2002:a17:907:62a1:b0:781:b320:90c0 with SMTP id nd33-20020a17090762a100b00781b32090c0mr6367281ejc.255.1666186679578; Wed, 19 Oct 2022 06:37:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666186679; cv=none; d=google.com; s=arc-20160816; b=NvNr68N9d9vc9I8gCc+wK7/5pwaTthrgjfgChRVvaMBKPVcEVjr80YZK//C4ovWfI9 avAiV+GB6CjWbIEYdGjVk7a+IfpyMB1kBO36BiMDVKJH8T9d4m2wfOy+rs4dNve1GkPD 7StNz4ivTHG+3mw/tSXiIwrxyIoe3FTbKGGHNz8IKd1Vv3Vz4dGujd3LnFWaZ/jaI+on lNAVXI5SFVkeR7I+RPpYdqliRIPyNOMyFmcUrkYc5FSlSD22hbMuIVl32KWAQsBqNOSB Ubk7tVcgkCJIYgVUNFZYapkjuGTBEP7vIyzKcq/WsHd91YZPFrFrumjmxQxsh1Lfrm1S Wvog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=wGD8wcplZF7yCkGuQYrY4rC6rLxx1TAvZjZrcjHofBs=; b=DczHcF94vMlKAoeKoFkRgxjCEwIr5VWkR7lTCQz1F/rIr6UOIhA9gpKfQNezCGr91I 31E4c/3olbTBB0o/dzso+oGG35Z/ZqA9jhI9T/Ucs+UHP5rHVK6loZby3qM9GdqfMPRo dozYwKIM3M8OxP8wGWzXJHMODKm7ffnSltsQbpNb2RXUYRIvbr8cGj3jrB4INIdgU1M2 k2heqAno2X0JzrZ7lpCJD3sf37E3GJ3y+4OUmPeaS3N1nre8CDd6TXJ6q5gt+PbqlGtV 2Lbp//h3v3Jq0nJA6t6KNzFdadvSCk5AAwUt345NcSeW7CBMx+b0PzHsrwvzmYHh+2Cf kX1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="EyA/B4Rs"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e17-20020a056402191100b0045cfb63a018si15946530edz.31.2022.10.19.06.37.15; Wed, 19 Oct 2022 06:37:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="EyA/B4Rs"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229587AbiJSNVf (ORCPT + 99 others); Wed, 19 Oct 2022 09:21:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230410AbiJSNUz (ORCPT ); Wed, 19 Oct 2022 09:20:55 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1499F10326F; Wed, 19 Oct 2022 06:06:12 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id D36D9CE21E3; Wed, 19 Oct 2022 09:19:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0916AC433C1; Wed, 19 Oct 2022 09:19:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666171145; bh=ywJ2pvR9X6bnB/eunhk7eprZc1I8H8qEl72p2crfhpI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=EyA/B4RsZKZzw4PSqKudcvlbLml/0hAJmfHmS76dyxbDf6NwGv+LJt2GoS9iSEPSU 0/OC2bF4Hnq00r6RMbxxrGm8nO/1T+5FMRfiGFXF3aBOMZL2Ln8zXQ7oj/dgJNcuHU Ypmg+6M6xMDFXeCPSIbjP/EV/oJZEHcOWPD+ubi/eZDvLNI9rhhhqiwaDo3D6e3hoT 90+86TiGevgFWQMYj+qvmwrPJD5X3EtW8sMfs9udcbw+fapufsdibFdBEmE4qwBOW4 t140YuxCa+ew9j1xxFdHxYqraX/CNV/FxHkxDiBSrXi/NTBMEIgRNau9oIcy9gjitS shk5gjJCVXjOw== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1ol5Dx-00058N-6Q; Wed, 19 Oct 2022 11:18:53 +0200 Date: Wed, 19 Oct 2022 11:18:53 +0200 From: Johan Hovold To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Johan Hovold , Vinod Koul , Sasha Levin Subject: Re: [PATCH 6.0 527/862] phy: qcom-qmp-ufs: fix memleak on probe deferral Message-ID: References: <20221019083249.951566199@linuxfoundation.org> <20221019083313.259607297@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221019083313.259607297@linuxfoundation.org> X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 19, 2022 at 10:30:14AM +0200, Greg Kroah-Hartman wrote: > From: Johan Hovold > > [ Upstream commit ef74a97f0df8758efe4476b4645961286aa86f0d ] > > Switch to using the device-managed of_iomap helper to avoid leaking > memory on probe deferral and driver unbind. > > Note that this helper checks for already reserved regions and may fail > if there are multiple devices claiming the same memory. Again, because of the above, this should not be backported. Please drop. > Fixes: e78f3d15e115 ("phy: qcom-qmp: new qmp phy driver for qcom-chipsets") > Signed-off-by: Johan Hovold > Link: https://lore.kernel.org/r/20220916102340.11520-6-johan+linaro@kernel.org > Signed-off-by: Vinod Koul > Signed-off-by: Sasha Levin Johan