From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Date: Fri, 31 Dec 2010 20:52:23 +0000 Subject: Re: [PATCH] drivers/atm/atmtcp.c: add missing atm_dev_put Message-Id: <20101231.125223.212690412.davem@davemloft.net> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: julia@diku.dk Cc: chas@cmf.nrl.navy.mil, linux-atm-general@lists.sourceforge.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org From: Julia Lawall Date: Wed, 29 Dec 2010 15:01:03 +0100 (CET) > From: Julia Lawall > > The earlier call to atm_dev_lookup increases the reference count of dev, > so decrease it on the way out. > > The semantic match that finds this problem is as follows: > (http://coccinelle.lip6.fr/) ... > Signed-off-by: Julia Lawall Applied, thank you.