From mboxrd@z Thu Jan 1 00:00:00 1970 From: mmarek@suse.com (Michal Marek) Date: Mon, 26 Oct 2015 22:39:50 +0100 Subject: [Cocci] [PATCH] cocinelle: iterators: semantic patch to delete unneeded of_node_put In-Reply-To: <1445544719-11953-1-git-send-email-Julia.Lawall@lip6.fr> References: <1445544719-11953-1-git-send-email-Julia.Lawall@lip6.fr> Message-ID: <562E9DA6.1040702@suse.com> To: cocci@systeme.lip6.fr List-Id: cocci@systeme.lip6.fr Dne 22.10.2015 v 22:11 Julia Lawall napsal(a): > Device node iterators perform an of_node_put on each iteration, so putting > an of_node_put before a continue results in a double put. > > Signed-off-by: Julia Lawall Applied to kbuild.git#misc, thanks. Michal From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Marek Date: Mon, 26 Oct 2015 21:39:50 +0000 Subject: Re: [PATCH] cocinelle: iterators: semantic patch to delete unneeded of_node_put Message-Id: <562E9DA6.1040702@suse.com> List-Id: References: <1445544719-11953-1-git-send-email-Julia.Lawall@lip6.fr> In-Reply-To: <1445544719-11953-1-git-send-email-Julia.Lawall@lip6.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: cocci@systeme.lip6.fr Dne 22.10.2015 v 22:11 Julia Lawall napsal(a): > Device node iterators perform an of_node_put on each iteration, so putting > an of_node_put before a continue results in a double put. > > Signed-off-by: Julia Lawall Applied to kbuild.git#misc, thanks. Michal From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753284AbbJZVjz (ORCPT ); Mon, 26 Oct 2015 17:39:55 -0400 Received: from mx2.suse.de ([195.135.220.15]:47292 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753051AbbJZVjx (ORCPT ); Mon, 26 Oct 2015 17:39:53 -0400 Subject: Re: [PATCH] cocinelle: iterators: semantic patch to delete unneeded of_node_put To: Julia Lawall , Gilles Muller , Nicolas Palix , cocci@systeme.lip6.fr, linux-kernel@vger.kernel.org, Russell King - ARM Linux , Thomas Petazzoni , Andrew Lunn , Bjorn Helgaas , Jason Cooper , Rob Herring References: <1445544719-11953-1-git-send-email-Julia.Lawall@lip6.fr> Cc: kernel-janitors@vger.kernel.org From: Michal Marek Message-ID: <562E9DA6.1040702@suse.com> Date: Mon, 26 Oct 2015 22:39:50 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <1445544719-11953-1-git-send-email-Julia.Lawall@lip6.fr> Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dne 22.10.2015 v 22:11 Julia Lawall napsal(a): > Device node iterators perform an of_node_put on each iteration, so putting > an of_node_put before a continue results in a double put. > > Signed-off-by: Julia Lawall Applied to kbuild.git#misc, thanks. Michal