]> git.baikalelectronics.ru Git - kernel.git/commit
random: update comment from copy_to_user() -> copy_to_iter()
authorJason A. Donenfeld <Jason@zx2c4.com>
Mon, 20 Jun 2022 09:03:48 +0000 (11:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Jun 2022 07:03:31 +0000 (09:03 +0200)
commit51dfd5f06325f9f40f2b557a36e77fe5f51f0d21
treed3469f374625186773efa56bdeddc12ae16063c5
parenta59e00eb71306315571817398d88ce7a62d42c4f
random: update comment from copy_to_user() -> copy_to_iter()

commit 6943da971e700e164509d5616d642f1361275a98 upstream.

This comment wasn't updated when we moved from read() to read_iter(), so
this patch makes the trivial fix.

Fixes: 46d5153b4686 ("random: convert to using fops->read_iter()")
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/random.c