From: Justin M. Forbes <jforbes@xxxxxxxxxxxxxxxxx> random: replace import_single_range() with import_ubuf() Upstream commit 6ac805d138709 dropped the iov arg from import_single_range() and upstream commit 9fd7874c0e5c8 replaced import_single_range() with import_ubuff(). As our patch 7c0b728ae37e7 still called import_single_range() in drivers/char/random, this needs to be brought up to date to continue working. Reported-by: Scott Weaver <scweaver@xxxxxxxxxx> Signed-off-by: Justin M. Forbes <jforbes@xxxxxxxxxxxxxxxxx> diff --git a/drivers/char/random.c b/drivers/char/random.c index blahblah..blahblah 100644 --- a/drivers/char/random.c +++ b/drivers/char/random.c @@ -1406,7 +1406,7 @@ SYSCALL_DEFINE3(getrandom, char __user *, ubuf, size_t, len, unsigned int, flags rcu_read_unlock(); if (rng) { - ret = import_single_range(ITER_DEST, ubuf, len, &iov, &iter); + ret = import_ubuf(ITER_DEST, ubuf, len, &iter); if (unlikely(ret)) return ret; ret = rng->extrng_read_iter(&iter, !!(flags & GRND_RANDOM)); -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2856 -- _______________________________________________ kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue