From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752865AbcJCOEu (ORCPT ); Mon, 3 Oct 2016 10:04:50 -0400 Received: from mail-lf0-f41.google.com ([209.85.215.41]:32950 "EHLO mail-lf0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750822AbcJCOEt (ORCPT ); Mon, 3 Oct 2016 10:04:49 -0400 Date: Mon, 3 Oct 2016 16:04:42 +0200 From: Richard Cochran To: Christophe JAILLET Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH] ptp: Fix resource leak in case of error Message-ID: <20161003140442.GA13116@localhost.localdomain> References: <1475391856-15046-1-git-send-email-christophe.jaillet@wanadoo.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1475391856-15046-1-git-send-email-christophe.jaillet@wanadoo.fr> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Oct 02, 2016 at 09:04:16AM +0200, Christophe JAILLET wrote: > A call to 'ida_simple_remove()' is missing in the error handling path. > > This as been spotted with the following coccinelle script which tries to > detect missing 'ida_simple_remove()' call in error handling paths. Acked-by: Richard Cochran