Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp857880pxb; Fri, 22 Apr 2022 12:47:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJylhAwXGqzfkGfO2X0u1Rz2zGjHEYqy0SzwxzWUMDqay91fLMjtmGlbpD9VBDuVMDlgjwUq X-Received: by 2002:a63:5b43:0:b0:39d:1a2b:5904 with SMTP id l3-20020a635b43000000b0039d1a2b5904mr5113479pgm.533.1650656838654; Fri, 22 Apr 2022 12:47:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650656838; cv=none; d=google.com; s=arc-20160816; b=lxHE+4srr15B8bkHh9yCOZiNKGFdXx6f0ZReW8Ybkeyjy8CrCQasIjs5tvvxpnSUBM jPMQ0I36qEJ9Tvio+nav6UiDnJEsHAUDGXW/zL1BPQ9AIuclTixpbxQ3TELv68jCQyqz WtAIQifNECcSQD3fvrIXKJdy0NsQsHWAUrZXSKxUGzIOp3MP80rw1wWKuPqgaE+xDJhI 3dvu9tHxI4HvcpCnDpm13bTjKPpxNqa8Gs2pxkO+mUUbzQjNfHZYTGCpNzOqeyqGgsqU zJle4coIDVPzE2sfZaVssVBgKOC3vUFaDqsG9cv0lSCZBOBVr7/t8nN61vcjvkwXPPcO TK7g== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=+RpfYcT4nsh3Xt0LAIDTQQtNXFSburF64z3bq8eqj58=; b=BFxJ9KJIzz7COe2BbNga5PpKIyof2qeqYmYLs3/ft+JHltpJZPNo0lheGDvzEI3FKC z+keyI3mfIYfOZq0F03gPBYAT0zt3exeNp1+d5/y80K8i0j8Itz4wVyz1xkrbksG+GLE 6vZ2+/GJXDgqgUii8b7aRKClTVXv98Scu8IoLW0NUHHIgr7RGDUHaRQr7YlQcXhza+N2 T6eV4EeevAB/Kn1memZ4Gtq9nOFAkVuX193UeEu8DE/uLTHdKLyS8H3CF6OtllIrMwic u3lHvA8YcygX8IeQjSjI7w7SpDzFVHC3XmJ6f/hZTA6D2nF5kWkCjcPJ81miSMH3RuWB /odA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dGoqZ5wx; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id q4-20020a170902b10400b00153f463a7e2si5172089plr.126.2022.04.22.12.47.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 12:47:18 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dGoqZ5wx; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AD8B2170458; Fri, 22 Apr 2022 11:49:20 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234099AbiDVNNE (ORCPT + 99 others); Fri, 22 Apr 2022 09:13:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234015AbiDVNND (ORCPT ); Fri, 22 Apr 2022 09:13:03 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E51315719; Fri, 22 Apr 2022 06:10:10 -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 ams.source.kernel.org (Postfix) with ESMTPS id 14C89B82D3E; Fri, 22 Apr 2022 13:10:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B670DC385AC; Fri, 22 Apr 2022 13:10:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650633007; bh=LM+ulpEJgK2xI+UCRDS56xFSor9mKw6oWKs25hHyY6M=; h=From:To:Cc:Subject:Date:From; b=dGoqZ5wxRl6HJjKW9xiE5i9Ez1cYXQO+T5oIWqaVbvQzKzaoCBiKaXXdgF+g9Y1Te 76LJoZgtHFmDHppGOo6e7BqIGk8Oc6KgRiW8fLJGq24jWs2VglxcR8//sU47n/+O14 ZQdBg6NERarFIPlnnnesjT4LYaJvKJ71Elo53eLkm3ey6eVfkJ71mAX2uxIof0kI7V W1aJoNl8ehTm4Im8uDgkgDd93/kiyYIuihBlnC6QguiSDTzi1rdrbAsYJf3JRGMslH PM3h130+I01u1mS9GzLP6a+bopX5ZDjwGSmxAJXnR9I2VQp3WqjpAPYnprmLh/wrQZ JIzczET10KzOw== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1nht2v-0000XK-VI; Fri, 22 Apr 2022 15:10:02 +0200 From: Johan Hovold To: Kishon Vijay Abraham I , Vinod Koul Cc: Andy Gross , Bjorn Andersson , Philipp Zabel , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 0/2] phy: qcom-qmp: fix leaks on probe errors Date: Fri, 22 Apr 2022 15:09:39 +0200 Message-Id: <20220422130941.2044-1-johan+linaro@kernel.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE autolearn=unavailable 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 Here are two more fixes addressing resource leaks on probe errors (e.g. probe deferral). Johan Johan Hovold (2): phy: qcom-qmp: fix struct clk leak on probe errors phy: qcom-qmp: fix reset-controller leak on probe errors drivers/phy/qualcomm/phy-qcom-qmp.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) -- 2.35.1