crypto: drbg - fix sparse warning for cpu_to_be[32|64]
authorStephan Mueller <smueller@chronox.de>
Tue, 26 Aug 2014 07:32:24 +0000 (09:32 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 26 Aug 2014 07:33:28 +0000 (15:33 +0800)
commit7c8ae03f41e635813b777a0989d8ac1ff5a8494e
tree08c94cc9f56b544d15f027c4accb572621417a91
parent4c1948fc471d444b15dfaca73ea0c9b77c2d5505
crypto: drbg - fix sparse warning for cpu_to_be[32|64]

The sparse tool complained that the cpu_to_be[32|64] functions return
__be[32|64] instead of __u32 or __u64. The patch replaces the __u32 and
__u64 with __be32 and __be64.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/drbg.c