aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kunit_iov_iter.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kunit_iov_iter.c')
-rw-r--r--lib/kunit_iov_iter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kunit_iov_iter.c b/lib/kunit_iov_iter.c
index 3352b4b70174..48342736d016 100644
--- a/lib/kunit_iov_iter.c
+++ b/lib/kunit_iov_iter.c
@@ -57,7 +57,7 @@ static void *__init iov_kunit_create_buffer(struct kunit *test,
KUNIT_ASSERT_NOT_ERR_OR_NULL(test, pages);
*ppages = pages;
- got = alloc_pages_bulk_array(GFP_KERNEL, npages, pages);
+ got = alloc_pages_bulk(GFP_KERNEL, npages, pages);
if (got != npages) {
release_pages(pages, got);
KUNIT_ASSERT_EQ(test, got, npages);