From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752704AbcJDByl (ORCPT ); Mon, 3 Oct 2016 21:54:41 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:52800 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752046AbcJDByj (ORCPT ); Mon, 3 Oct 2016 21:54:39 -0400 Date: Mon, 03 Oct 2016 21:54:37 -0400 (EDT) Message-Id: <20161003.215437.766104609153539683.davem@davemloft.net> To: christophe.jaillet@wanadoo.fr Cc: richardcochran@gmail.com, 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 From: David Miller In-Reply-To: <1475391856-15046-1-git-send-email-christophe.jaillet@wanadoo.fr> References: <1475391856-15046-1-git-send-email-christophe.jaillet@wanadoo.fr> X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Mon, 03 Oct 2016 18:54:39 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Christophe JAILLET Date: Sun, 2 Oct 2016 09:04:16 +0200 > 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. ... > Signed-off-by: Christophe JAILLET Applied.