Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262051AbVCTJkb (ORCPT ); Sun, 20 Mar 2005 04:40:31 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262055AbVCTJka (ORCPT ); Sun, 20 Mar 2005 04:40:30 -0500 Received: from arnor.apana.org.au ([203.14.152.115]:10501 "EHLO arnor.apana.org.au") by vger.kernel.org with ESMTP id S262051AbVCTJk0 (ORCPT ); Sun, 20 Mar 2005 04:40:26 -0500 From: Herbert Xu To: adobriyan@mail.ru (Alexey Dobriyan) Subject: Re: [patch 1/4] crypto/sha256.c: fix sparse warnings Cc: herbert@gondor.apana.org.au, domen@coderock.org, davem@davemloft.net, linux-kernel@vger.kernel.org Organization: Core In-Reply-To: <200503201110.39174.adobriyan@mail.ru> X-Newsgroups: apana.lists.os.linux.kernel User-Agent: tin/1.7.4-20040225 ("Benbecula") (UNIX) (Linux/2.4.27-hx-1-686-smp (i686)) Message-Id: Date: Sun, 20 Mar 2005 20:39:43 +1100 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 833 Lines: 24 Alexey Dobriyan wrote: > > crypto/sha256.c:61:9: warning: cast to restricted type > > Use CHECK="sparse -Wbitwise" to see it. Thanks. I've applied all four patches to crypto. I changed patch 4/4 slightly so that it reads +#define u32_in(x) le32_to_cpu(*(const __le32 *)(x)) instead of le32_to_cpup(...) for the sake of minimising the changes. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - 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/