Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp351050pxa; Wed, 26 Aug 2020 12:21:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyS+kdE8z7sGnY4kmpSAxgLRGNZtmRpEkgImDoH64WXhzhfpL9vnfmSLMeQ8yOueBdfhlto X-Received: by 2002:a05:6402:1151:: with SMTP id g17mr16741567edw.227.1598469696195; Wed, 26 Aug 2020 12:21:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598469696; cv=none; d=google.com; s=arc-20160816; b=oxepEnmPxVhZ6dJwENxS7cgRubl94rmV/H/lRwuhWCkJdHf8C1dqFXcSjeWc95md6x N0z386sXlTJOEsKtTAll1TvT3FHf/Ebulmfvq0fuzRub+USjxQYz0cmTWCBVkxRdkKA/ KhQYMopwq4vEhjsbub3mkHSgaSlDNd9wYmcQoEusmAef+pc4gxXwazaYLr2hFErsRMCs 2CqwSOG44i3l0pzNvCeu0TMxXvwC4uGVXfAMlgnH4EYBQrFGhQCqHirE9gp1sV6Fndiz P6pGTtwh6y2MK8RsFcTcSWwUSSMJAHjSdHFFSd6ltulqgfF1ji7gOFbQt9u416+cbnEQ qUfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:subject:references:in-reply-to :cc:to:from:date:dkim-signature; bh=b1eo8UluRfUbuen3aOUiqp3dj33kQU5yEcemNrq1BEc=; b=nNwt2ccRAilx7l/X49JC5yLQY7IzbqtYhTZecZjZHNr8fCZUC9XrDGHIonxZLsgz+q 4nQaEE1Z84r2OsbKLuKbGnqLrusNv+HtIK8jayY8kizRvq/CpI1dSaYu+Bu6n7xrsgd9 L7+ezt4wwBsOL9AAmnyzDC08NYAbF5Ue8ttVjh2kZmIbLeiFOd2jrwxgFL2QTRKzxALk e1Kxpl8MCXh99Yl/haXImlXUVI+9tThbjSJ1b1QwgroYb5ahoS5Lnefhb8W8FeZXf0Qi BTwtzwdQiWyoxXwoPgNwTJc1hFbdrRXLbaVuHk8npqwPSDgj49Z0k3kBMIVvtLv+Q4O4 qKGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=PNJRCD+c; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bh25si2181446ejb.468.2020.08.26.12.21.12; Wed, 26 Aug 2020 12:21:36 -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=@kernel.org header.s=default header.b=PNJRCD+c; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727877AbgHZTRy (ORCPT + 99 others); Wed, 26 Aug 2020 15:17:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:40376 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726940AbgHZTRV (ORCPT ); Wed, 26 Aug 2020 15:17:21 -0400 Received: from localhost (fw-tnat.cambridge.arm.com [217.140.96.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D43552078A; Wed, 26 Aug 2020 19:17:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598469441; bh=JmBM+nkl0t+UofWg4Gi1xS0o3nBQu5RONor3hOBJoqE=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=PNJRCD+cKqy2Mvyvk8mEF8MpHMrU/Fy/KvJ4bIblOU22Mdh+2ISANcpiOOK+il/Fo mXvPO7D2WwrBryg83KPXAjKWyZpqsbNG52DuxZZ7gq5q/gHAPsHU2V/BQCrANihDeI l1H6Mq7+p7vPvcoUOejRI4ltWrit/YNGe8aF6aNY= Date: Wed, 26 Aug 2020 20:16:45 +0100 From: Mark Brown To: Dinghao Liu , kjlu@umn.edu Cc: Liam Girdwood , alsa-devel@alsa-project.org, Patrick Lai , linux-kernel@vger.kernel.org, Bjorn Andersson , Takashi Iwai , Banajit Goswami , Srinivas Kandagatla In-Reply-To: <20200820042828.10308-1-dinghao.liu@zju.edu.cn> References: <20200820042828.10308-1-dinghao.liu@zju.edu.cn> Subject: Re: [PATCH] ASoC: qcom: common: Fix refcount imbalance on error Message-Id: <159846939972.39744.13708543764168639585.b4-ty@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 20 Aug 2020 12:28:27 +0800, Dinghao Liu wrote: > for_each_child_of_node returns a node pointer np with > refcount incremented. So when devm_kzalloc fails, a > pairing refcount decrement is needed to keep np's > refcount balanced. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: qcom: common: Fix refcount imbalance on error commit: c1e6414cdc371f9ed82cefebba7538499a3059f9 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a 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. Thanks, Mark