Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp24409pxf; Wed, 7 Apr 2021 18:51:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw6h0E7KHWmGoaiRB76yfrxqBhkXFh4xVBgPN6bghgjyyck53oq7mHY6eknoWE6ctHDP9ba X-Received: by 2002:a17:906:1784:: with SMTP id t4mr4744605eje.167.1617846702298; Wed, 07 Apr 2021 18:51:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617846702; cv=none; d=google.com; s=arc-20160816; b=cRb1OXpe5G+zslqfbUWub0Q4Hdptn33MsfovrLHsGhdZyk/XvZekbSQfhPYpEj7kyJ 9SWRvGQAKv+xgcvrJcIpJ0DHhT5Apd5itiTWkHgqhWi/4gWZsI6Id4dCa6pVrPE2LDgL heFbChSXCunHGKI1eyNDQipyjcVBdSwlvtNduyamrsAexcH9cOWmNspgCtwQ4aMh55Nn p42vFI4h34YOzQvNe7KqSSizq4FXCmCdHoRvEw2ypIU7slt4lF0fdpmfakVPZ1qiHaf+ m9pULkxuhvrzdkgyZSmrazkAbtyfxlehgjVOApuxKdiw5NCkFkYWRHgT8fFPqF3ESk5N /x4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:references:to:from:subject:cc :message-id:date:content-transfer-encoding:mime-version :dkim-signature; bh=mMhxbB0zqHG5YU1pZTAAX3hVmpGb5cQ4fHjP3KzZthQ=; b=G8UiT5nDi7BxU9WYzvY0hkZgaqO7n89n2IgP5W5NhRVgP1BrX6c43qf++ryjjcQDOZ PHs6xgjtbr1GuXj2ZbUQrfoQsQeT3WHHCoFCSgkpnXeb8iO0Mr2kHvlUSfrmB8rYYUjb XMwgx1dmoyz0BQcI8F1WiBpZzV6YaYY/IGznyjMkEMHjkwSD80zblWcJwVkmmlpMYbV5 4WUsd2K+crj5Z8l1xxv0REtMQbhYJAfDScW/vRbMrWJVZhjwlPmdxFLx4BkivuFtxzwX oTiq8KFIG407YgMcDqjM4eAdi4scpT+asPwr3aJJ5IK/37VAsbjsQoUlzdM+ZSEYbkfM ipzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QPrEzU8s; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ca23si3350849edb.92.2021.04.07.18.51.17; Wed, 07 Apr 2021 18:51:42 -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=@gmail.com header.s=20161025 header.b=QPrEzU8s; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230099AbhDHBua (ORCPT + 99 others); Wed, 7 Apr 2021 21:50:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229505AbhDHBu1 (ORCPT ); Wed, 7 Apr 2021 21:50:27 -0400 Received: from mail-qk1-x72b.google.com (mail-qk1-x72b.google.com [IPv6:2607:f8b0:4864:20::72b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C921C061760; Wed, 7 Apr 2021 18:50:17 -0700 (PDT) Received: by mail-qk1-x72b.google.com with SMTP id y5so683447qkl.9; Wed, 07 Apr 2021 18:50:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:content-transfer-encoding:date:message-id:cc:subject :from:to:references:in-reply-to; bh=mMhxbB0zqHG5YU1pZTAAX3hVmpGb5cQ4fHjP3KzZthQ=; b=QPrEzU8sAygM5cwmENm34A2L3XVE53Ze6nVd2eYnd6KIGKg8AWz3k5PNnFtrilVEXX wgaqkxVTcH9p93o8O3lgyeOHeXQB8XPorZExdV9H4PzqjLEO/ysOcYmu7n2xtyoiZ7Hn lP0E80tx91xON/MH9M+z1km/Sbd722K9SGERcL2hlznvp3GmUYLdKZUWUwTLISZukgFQ VwhtYf9v+BzW0dBQyQ0BtEP9MXIHFS+PWflFbyZDM5KuiJZcnsCllHuQ48o/sTA4UnOu WcuwWi9VQJafhdaRjujIFxA38cvqA+RKvzBBuYpaSUrHcG+cBbD9GeA0kOUE+GwhMB+t bMWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:content-transfer-encoding:date :message-id:cc:subject:from:to:references:in-reply-to; bh=mMhxbB0zqHG5YU1pZTAAX3hVmpGb5cQ4fHjP3KzZthQ=; b=evUx6xecgoStHU0vMMBUkbLqNBQzmF3//c0Y2vY0jU7IUZxMKLCAVY+VQxf3R6coAR s+eZA5TMilekz/At4Vt8sqJ1nM7hcPLYalVgMkd/duDbDLgS4F0BlhL5AMlH3FDkRcN0 sy7BOZRP3MU7++00apykB3QH+zgIhj09O2A16MJ7QXPeg7wS9A1bGoneRzIaaiGrWUT2 xWB5T61vgqYY/8VNnY6v6H+ofSCLurpfSYasRbvp+FwK06TRTpxri74VckoH+6DIR2kT 6itqfKjR5ilDf/GjogvjEda3szJJ3HWw9wAS0y1iawzdf7Uz4mAmKx8frSXmNcQUrUGN sOTQ== X-Gm-Message-State: AOAM533QG9adUMWNlzGoOQND5uRnFPrBDmfb1uq1v/n3BZfpOQq7K1bs hUR8Q7SVhh9ieSPvKro6ZSm1/ktADHZyPBMh X-Received: by 2002:a37:d82:: with SMTP id 124mr6094473qkn.311.1617846616630; Wed, 07 Apr 2021 18:50:16 -0700 (PDT) Received: from localhost (198-48-202-89.cpe.pppoe.ca. [198.48.202.89]) by smtp.gmail.com with ESMTPSA id m16sm19473506qkm.100.2021.04.07.18.50.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 07 Apr 2021 18:50:16 -0700 (PDT) Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Wed, 07 Apr 2021 21:50:15 -0400 Message-Id: Cc: , , , , Subject: Re: [PATCH] clk: fix for_each_child.cocci warnings From: "Liam Beguin" To: "Stephen Boyd" , "Julia Lawall" , References: <161784187378.3790633.2593540922159647609@swboyd.mtv.corp.google.com> In-Reply-To: <161784187378.3790633.2593540922159647609@swboyd.mtv.corp.google.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Stephen, On Wed Apr 7, 2021 at 8:31 PM EDT, Stephen Boyd wrote: > 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? > This is a fix for a patch[1] I sent yesterday. I'll apply and resend. Thanks, Liam [1] https://patchwork.kernel.org/project/linux-clk/patch/20210407005330.289= 0430-2-liambeguin@gmail.com/ > >=20 > > url: https://github.com/0day-ci/linux/commits/Liam-Beguin/add-suppor= t-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 chil= d: %s\n", > > child->full_name); > > + of_node_put(child); > > goto err_disable_oscin; > > } > >