Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755263Ab0BJBfT (ORCPT ); Tue, 9 Feb 2010 20:35:19 -0500 Received: from mail-vw0-f46.google.com ([209.85.212.46]:53956 "EHLO mail-vw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755130Ab0BJBfN (ORCPT ); Tue, 9 Feb 2010 20:35:13 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=ATMHMQYtbHi3ogivDzHdBQN8N+PjBLy7yVbFTXIPuPYD+YOSt3NVwZ89D9SS5Cg/4E 0qDw+v4Ck20roUgxDWeaGuLuioiMR5DWIOwXGzX3ToVXmOoXXNGjR9GHyZb63Brxv42M 9pwlTrIK6aWA9CD2f9s+hulALZ9w8WnV+XWXQ= From: Richard Hartmann To: linux-crypto@vger.kernel.org Cc: Richard Hartmann , Herbert Xu , "David S. Miller" , linux-kernel@vger.kernel.org Subject: [PATCH 1/1] CRYPTO: Fix checkpatch errors & warnings in des_generic.c Date: Wed, 10 Feb 2010 02:34:38 +0100 Message-Id: <1265765679-26485-1-git-send-email-richih.mailinglist@gmail.com> X-Mailer: git-send-email 1.6.6.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 890 Lines: 28 Signed-off-by: Richard Hartmann --- crypto/des_generic.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/crypto/des_generic.c b/crypto/des_generic.c index 5bd3ee3..249f903 100644 --- a/crypto/des_generic.c +++ b/crypto/des_generic.c @@ -869,8 +869,7 @@ static int des3_ede_setkey(struct crypto_tfm *tfm, const u8 *key, if (unlikely(!((K[0] ^ K[2]) | (K[1] ^ K[3])) || !((K[2] ^ K[4]) | (K[3] ^ K[5]))) && - (*flags & CRYPTO_TFM_REQ_WEAK_KEY)) - { + (*flags & CRYPTO_TFM_REQ_WEAK_KEY)) { *flags |= CRYPTO_TFM_RES_WEAK_KEY; return -EINVAL; } -- 1.6.6.1 -- 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/