Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1008501pxf; Wed, 7 Apr 2021 17:32:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzrA4P6nJ5BtQ82ZBqk/vAfhug6NScfB34/6XaGRnprVFBmcF+0CdLN+jnxzazIwqmKBX8d X-Received: by 2002:a17:906:7f01:: with SMTP id d1mr7089726ejr.136.1617841961558; Wed, 07 Apr 2021 17:32:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617841961; cv=none; d=google.com; s=arc-20160816; b=Y8OD7CB1eqNRWOsFR0oRdshO3l4B95FrE9bApeLtk8c2BvV2tKj4zDglUXOCSmcx1r GhquWcI1I7iReD7ns0jbrW5gbp8FfIra1Uexb7IzGlWiXfnvsYBW0j4/mqJHnQSw2jMj rnMEqsJhFh3IYDDBafDhbDehW/auY9Abn+7xS+PoFG3pkPi1JckCbRfOd+UlzxdyAIEy sdKq0ztcOjsbXFdiFeOXrI5X4y7VcT2zK0l0Xb4cVPPH0U4eDdTMaaMMMkIz1oXJVEBz 1widV9OnPr9Elp05OmaTXynZgEzl2SSjyI3LfgCnAfucTr+rTAHOKFKAhyFu/Wok6ce9 TFQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=YNRCsmSKW1FIOQy86EWlEbEgN5QO/lvkHCdrXWcgrPw=; b=PSWWE0oWUPqdQG1/5tFO++IstHY5rmPis1TNrt3GXG2mAisBZ/PKQ3VVfL6qf5EYbk yhaWyWalUnMg6Vp+9VAnjF/pmxy4CGLHDx6LztsgyVvuKRY2uqHV13fjmEsQ1AlwXm8T H/MF+L6n8EFPLqM/v6Z1dnVQxvcvfxgRfzJ2G6HFvpBZVo1UJ6uigCZ7fLKQO59lwp1a XPnbOAjm5m9f8IePci4Qi7GtONyyCt5WaRWmOhXFrGtRBN2tZ+DekDtcUzWvfZtvdqKr c7wChHDg471TlrukaEwOEy/x1p1w3Rb0jZyHEjBzk18jywo+rJ8FKmb8Qv14zdCdefVg Ppsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=s9zrAn3E; 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 ga37si21569514ejc.4.2021.04.07.17.32.17; Wed, 07 Apr 2021 17:32:41 -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=k20201202 header.b=s9zrAn3E; 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 S229558AbhDHAb0 (ORCPT + 99 others); Wed, 7 Apr 2021 20:31:26 -0400 Received: from mail.kernel.org ([198.145.29.99]:44070 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229484AbhDHAbZ (ORCPT ); Wed, 7 Apr 2021 20:31:25 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4875D61181; Thu, 8 Apr 2021 00:31:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1617841875; bh=5YsPqezv793TcVBfx0Cfk1xGz66mtLLY0VP7pyv6NKw=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=s9zrAn3EZME/CD+fBbOlgTZzD10vZs4NmNekX35wp0zGTrEu3wiNBQ1KvD//G8S8v zXbwz7/HSz9s+gw19p6/PjDw4HyCRBc3JnqLwImO2qHxr2BOds0V712iWEZL85CiBY 96ZmdfaG/LYe9RJqVi0MQySKGdOx0tSHnKb6Jb1gz9H8Ergdhg39Ajd720Z5p8RdLl zbGJeJ1meBqmSR7q0vB7cQ3A/tE+WNw1oqcxFgAd0vfFKgChrIjGtPqBdNvJqvI7Ou fUnCjrYqOiRvf0ebHaHqNCCHeDmzA1RYBck8UM5tuY4A5L4Dl9QLoCb6mCVUhZTbLE LG8MpS28IUnAQ== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: References: Subject: Re: [PATCH] clk: fix for_each_child.cocci warnings From: Stephen Boyd Cc: linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, kbuild-all@lists.01.org To: Julia Lawall , Liam Beguin , mturquette@baylibre.com Date: Wed, 07 Apr 2021 17:31:13 -0700 Message-ID: <161784187378.3790633.2593540922159647609@swboyd.mtv.corp.google.com> User-Agent: alot/0.9.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Julia Lawall (2021-04-07 12:02:32) > From: kernel test robot >=20 > For_each_child_of_node should have of_node_put() before goto. >=20 > Generated by: scripts/coccinelle/iterators/for_each_child.cocci >=20 > CC: Liam Beguin > Reported-by: kernel test robot > Signed-off-by: kernel test robot > Signed-off-by: Julia Lawall > --- Is this a fix for a patch on the list? >=20 > url: https://github.com/0day-ci/linux/commits/Liam-Beguin/add-support-= for-the-lmk04832/20210407-085408 > base: f40ddce88593482919761f74910f42f4b84c004b > :::::: branch date: 9 hours ago > :::::: commit date: 9 hours ago >=20 > clk-lmk04832.c | 1 + > 1 file changed, 1 insertion(+) >=20 > --- a/drivers/clk/clk-lmk04832.c > +++ b/drivers/clk/clk-lmk04832.c > @@ -1159,6 +1159,7 @@ static int lmk04832_probe(struct spi_dev > if (ret) { > dev_err(lmk->dev, "missing reg property in child:= %s\n", > child->full_name); > + of_node_put(child); > goto err_disable_oscin; > } >