From: Herbert Xu Subject: Re: [PATCH 7/15] drivers/crypto/atmel-aes.c: adjust duplicate test Date: Mon, 4 Feb 2013 21:21:21 +0800 Message-ID: <20130204132121.GA21627@gondor.apana.org.au> References: <1358773378-4700-1-git-send-email-Julia.Lawall@lip6.fr> <1358773378-4700-8-git-send-email-Julia.Lawall@lip6.fr> <20130121.131912.602907116084738120.davem@davemloft.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Julia.Lawall@lip6.fr, kernel-janitors@vger.kernel.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org To: David Miller Return-path: Received: from sting.hengli.com.au ([178.18.18.71]:41277 "EHLO fornost.hengli.com.au" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754143Ab3BDNV2 (ORCPT ); Mon, 4 Feb 2013 08:21:28 -0500 Content-Disposition: inline In-Reply-To: <20130121.131912.602907116084738120.davem@davemloft.net> Sender: linux-crypto-owner@vger.kernel.org List-ID: On Mon, Jan 21, 2013 at 01:19:12PM -0500, David Miller wrote: > From: Julia Lawall > Date: Mon, 21 Jan 2013 14:02:51 +0100 > > > From: Julia Lawall > > > > Delete successive tests to the same location. The code tested the result > > of a previous allocation, that itself was already tested. It is changed to > > test the result of the most recent allocation. > > > > A simplified version of the semantic match that finds this problem is as > > follows: (http://coccinelle.lip6.fr/) > ... > > Signed-off-by: Julia Lawall > > Acked-by: David S. Miller Patch applied. Thanks! -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt