From: Andres Salomon Subject: Re: [PATCH] Crypto: geode-aes: Fix some code style issues Date: Thu, 15 Apr 2010 14:34:34 -0400 Message-ID: <20100415143434.7b39e55f@debian> References: <1271351879-22805-1-git-send-email-chihau@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: linux-geode@bombadil.infradead.org, linux-crypto@vger.kernel.org To: linux-kernel@vger.kernel.org Return-path: In-Reply-To: <1271351879-22805-1-git-send-email-chihau@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-crypto.vger.kernel.org On Thu, 15 Apr 2010 13:17:59 -0400 Chihau Chau wrote: > From: Chihau Chau > > This fixes some code style issues like: > > - Use #include instead of and #include > instead of > > - Use "foo *bar" instead of "foo * bar" > > - Add a space after the for or while sentence and before the open > parenthesis '(' > > - Don't use assignments in a if condition > > Signed-off-by: Chihau Chau Looks obviously correct to me. Acked-by: Andres Salomon > --- > drivers/crypto/geode-aes.c | 36 ++++++++++++++++++++---------------- > 1 files changed, 20 insertions(+), 16 deletions(-) > > diff --git a/drivers/crypto/geode-aes.c b/drivers/crypto/geode-aes.c > index c7a5a43..09389dd 100644 > --- a/drivers/crypto/geode-aes.c > +++ b/drivers/crypto/geode-aes.c > @@ -15,14 +15,14 @@ > #include > #include > > -#include > -#include > +#include > +#include > I don't see any delay functions being used anywhere; delay.h can probably just be dropped.