Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4079054pxk; Tue, 29 Sep 2020 13:48:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxBBDmSZPz7tl3OAc6HHVFh8+xsZpTa/SdTClkO2zJj/pI/vF6sx2AA1Lt1i0VkXgERe3lq X-Received: by 2002:aa7:d501:: with SMTP id y1mr5284720edq.29.1601412502907; Tue, 29 Sep 2020 13:48:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601412502; cv=none; d=google.com; s=arc-20160816; b=RaGZZnW6a5KhLc4M/Fpu4g/+Dll3A5GL4RmdL8iXUEy+wisxSDU4wOWwoT/s3FvDJn N5R+faLAgwKfBEdZEsJ2kZA2MGT2j6lfScSIEnXcyZnzLqT+qk9FA9UXXRLVTP1Kvq3O jVD42efxfy4Myl7bW1ZCA6BkeobGolNl61nZndjj/aVZTMXbb/Hb1NrwX0NKVBsJc/lj mKYreWBrwHbzDCcu0/ytNX67gKwdVEd25C8RA0OJmSwLqgxnbKjNEvKY3c7em9036D2b e+pRhudOZO97NHqIFqD/68m4jp6UAZ0tiEW/gOT8ZEKhhRRIoykzYTwvuzkVzF+tHs68 F4qA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=fkspQpmNiVmmG9fIU1fMVydquHJbbNsEZsryBbCLfrE=; b=lBUm84fjnEoNvUzF8CB/mUu58cfkoZ7o95pAUqC6dQ88ES8p5FBLvw2FqiWrYv0VAO CR7X2IQGX0rzwF7ukFVUjOIZQ4VRVx8C68Y8PcwTIYKhECBZp/XyIlp6KcgYGVT6ZBjX ychCVCBMSvHhObVwtUqv4zOCxNZe/UFp4h04L5msDiMzlu9u+VimIYEMxD9ZJd6M+fOe k50kl5jpKKLYie9phbgstX3JSANyBlIbfkYOVkNuhhBAKNzJSdh/J2lmpbjltBz3EUbh DvzKYtpKvM7cb5llpabrfrn5BfkblCQ9fwIiMG8hZNaIz79AIHIUszABaDLXVKP1O2PF TDpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bmCjC64S; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f9si4374970ejl.591.2020.09.29.13.47.59; Tue, 29 Sep 2020 13:48:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bmCjC64S; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729227AbgI2Uqc (ORCPT + 99 others); Tue, 29 Sep 2020 16:46:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726643AbgI2Uqc (ORCPT ); Tue, 29 Sep 2020 16:46:32 -0400 Received: from mail-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 31A52C0613D0 for ; Tue, 29 Sep 2020 13:46:32 -0700 (PDT) Received: by mail-lj1-x241.google.com with SMTP id k25so5138481ljg.9 for ; Tue, 29 Sep 2020 13:46:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=fkspQpmNiVmmG9fIU1fMVydquHJbbNsEZsryBbCLfrE=; b=bmCjC64SFZygtEqfJV9BMYihM/Byad6KCfdsyPuyHeM6FZHeejohaGsa6k2ep3+LZU MkefGeUc8ng5SwNsdfctPS7wUL6WaKfEb0Q75XxFMo0jDLxSW414IIVyjax4UpT2tV1q iABDAMin/ZODe6nheVlEUQn/rhbg+SVkPtYyNTLg4KqEdpRKk4APhvtw/eFSKapxHrqV 464Vja9DbdW91hIVcJiYB9XzkkIeXGrYYxLCJJqFu80WQ7KTG4tK0qk60vYyFRrYXmkK XmUXD8n178CpTG+xExXZfaSVoz2uOivG6XuYaZz12AWLD0/L+Y6/jSfYXc+pDmzJTDbm OQ7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fkspQpmNiVmmG9fIU1fMVydquHJbbNsEZsryBbCLfrE=; b=Ekl6PtVX53q6ATPJ+4cwX+wSm+qfAkDRDER1JrRD7XoSrQaSuBf/C7HIvyaT1aYBiE W8lrt5oiG1G80sT/X/6d779XK3ttuTf7W76ghJ2Rt/33PMjNZOnGzSrOuADkJNDKR6Xt IgQGrzvALAtieDKl8P7y4fLB0kktxYCegpSnDOSaoYqIsjzmHF3OhDeW9Ysk3LBpHPNe qB9Ct30FlDwFcO+MVCuOXkF7D17cB/Emp6pmDmFacBcqNxqFtkr2iEUcPt7eWwhNPLGh c6oSE3w9BOst9myOGgMZM4yQw9dzXcwloNH7HpSIoa+9zEQ6vExtAbXvd9EXrCJIG1l6 A3ug== X-Gm-Message-State: AOAM533ldSRoti4lUoxh70mOR6o9iEOHgTLfgIrIDsZnHnZArU0V4akM 7jjGIDSL/bHsHkM8DGPRAz+G0aS/TV4/bXSVqTqCyQ== X-Received: by 2002:a05:651c:28c:: with SMTP id b12mr1825250ljo.293.1601412390471; Tue, 29 Sep 2020 13:46:30 -0700 (PDT) MIME-Version: 1.0 References: <20200925234504.GA18813@agrajag.zerfleddert.de> In-Reply-To: <20200925234504.GA18813@agrajag.zerfleddert.de> From: Linus Walleij Date: Tue, 29 Sep 2020 22:46:19 +0200 Message-ID: Subject: Re: [PATCH] bus: qcom: ebi2: fix device node iterator leak To: Tobias Jordan , Bjorn Andersson Cc: MSM , "linux-kernel@vger.kernel.org" , Andy Gross Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Sep 26, 2020 at 1:45 AM Tobias Jordan wrote: > In the for_each_available_child_of_node loop of qcom_ebi2_probe, add a > call to of_node_put to avoid leaking the iterator if we bail out. > > Fixes: 335a12754808 ("bus: qcom: add EBI2 driver") > > Signed-off-by: Tobias Jordan Reviewed-by: Linus Walleij Bjorn can you apply this to the Qualcomm SoC tree? Yours, Linus Walleij