Re: [PATCH] DRBG: fix sparse warning for cpu_to_be[32|64]

2014-08-26 Thread Herbert Xu
On Tue, Aug 26, 2014 at 09:32:24AM +0200, Stephan Mueller wrote: > 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 > Signed-off-by: St

[PATCH] DRBG: fix sparse warning for cpu_to_be[32|64]

2014-08-26 Thread Stephan Mueller
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 Signed-off-by: Stephan Mueller --- crypto/drbg.c | 4 ++-- 1 file changed, 2 insertions(+),