diff options
-rw-r--r-- | kernel/rcutorture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcutorture.c b/kernel/rcutorture.c index 021d3108bb6..42e7f01e800 100644 --- a/kernel/rcutorture.c +++ b/kernel/rcutorture.c | |||
@@ -780,7 +780,7 @@ rcu_torture_init(void) | |||
780 | writer_task = NULL; | 780 | writer_task = NULL; |
781 | goto unwind; | 781 | goto unwind; |
782 | } | 782 | } |
783 | reader_tasks = kmalloc(nrealreaders * sizeof(reader_tasks[0]), | 783 | reader_tasks = kzalloc(nrealreaders * sizeof(reader_tasks[0]), |
784 | GFP_KERNEL); | 784 | GFP_KERNEL); |
785 | if (reader_tasks == NULL) { | 785 | if (reader_tasks == NULL) { |
786 | VERBOSE_PRINTK_ERRSTRING("out of memory"); | 786 | VERBOSE_PRINTK_ERRSTRING("out of memory"); |