From 92415c4ceecf9e10ea7b2868c34c474f8646b831 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Wed, 21 Aug 2013 00:57:20 -0400 Subject: [PATCH] ocf: fix build error with mix_pool_bytes mix_pool_bytes, requires and optional 4th parameter to hold output bytes. Adapting OCF to the new function signature can be done by passing NULL as the 4th parameter. Signed-off-by: Bruce Ashfield --- drivers/char/random.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/random.c b/drivers/char/random.c index 7c169d1..5cd52eb 100644 --- a/drivers/char/random.c +++ b/drivers/char/random.c @@ -818,7 +818,7 @@ void add_disk_randomness(struct gendisk *disk) */ void random_input_words(__u32 *buf, size_t wordcount, int ent_count) { - mix_pool_bytes(&input_pool, buf, wordcount*4); + mix_pool_bytes(&input_pool, buf, wordcount*4, NULL); credit_entropy_bits(&input_pool, ent_count); -- 1.7.10.4