Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756451Ab2HFUa2 (ORCPT ); Mon, 6 Aug 2012 16:30:28 -0400 Received: from shards.monkeyblade.net ([149.20.54.216]:38927 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756350Ab2HFUa0 (ORCPT ); Mon, 6 Aug 2012 16:30:26 -0400 Date: Mon, 06 Aug 2012 13:30:25 -0700 (PDT) Message-Id: <20120806.133025.266545188392092861.davem@davemloft.net> To: Julia.Lawall@lip6.fr Cc: chas@cmf.nrl.navy.mil, kernel-janitors@vger.kernel.org, linux-atm-general@lists.sourceforge.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, julia@diku.dk Subject: Re: [PATCH 6/6] drivers/atm/iphase.c: fix error return code From: David Miller In-Reply-To: <1344160356-387-7-git-send-email-Julia.Lawall@lip6.fr> References: <1344160356-387-1-git-send-email-Julia.Lawall@lip6.fr> <1344160356-387-7-git-send-email-Julia.Lawall@lip6.fr> X-Mailer: Mew version 6.5 on Emacs 24.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 637 Lines: 19 From: Julia Lawall Date: Sun, 5 Aug 2012 11:52:36 +0200 > From: Julia Lawall > > Convert a 0 error return code to a negative one, as returned elsewhere in the > function. > > A simplified version of the semantic match that finds this problem is as > follows: (http://coccinelle.lip6.fr/) ... > Signed-off-by: Julia Lawall Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/