aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/char/random.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/random.c b/drivers/char/random.c
index c511a831f0c0..f43c89f7c449 100644
--- a/drivers/char/random.c
+++ b/drivers/char/random.c
@@ -1039,6 +1039,7 @@ write_pool(struct entropy_store *r, const char __user *buffer, size_t count)
1039 p += bytes; 1039 p += bytes;
1040 1040
1041 add_entropy_words(r, buf, (bytes + 3) / 4); 1041 add_entropy_words(r, buf, (bytes + 3) / 4);
1042 cond_resched();
1042 } 1043 }
1043 1044
1044 return 0; 1045 return 0;